diff options
author | RaindropsSys <raindrops@equestria.dev> | 2024-01-13 16:12:11 +0100 |
---|---|---|
committer | RaindropsSys <raindrops@equestria.dev> | 2024-01-13 16:12:11 +0100 |
commit | 2b192b3840ac344c456b98304ea400f0af90da15 (patch) | |
tree | 081ba8cbc0add17f08c9b94fb4a830834d87c259 /includes/jobs | |
parent | 2bfdb0ab2e366007269d1b77446f1581801e05dc (diff) | |
download | pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.tar.gz pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.tar.bz2 pluralconnect-2b192b3840ac344c456b98304ea400f0af90da15.zip |
Updated 46 files and deleted 19 files (automated)
Diffstat (limited to 'includes/jobs')
-rw-r--r-- | includes/jobs/FrontersNotification.php | 4 | ||||
-rw-r--r-- | includes/jobs/PKFronters.php | 6 | ||||
-rw-r--r-- | includes/jobs/RefreshCache.php | 2 | ||||
-rw-r--r-- | includes/jobs/UpdateAssets.php | 3 |
4 files changed, 2 insertions, 13 deletions
diff --git a/includes/jobs/FrontersNotification.php b/includes/jobs/FrontersNotification.php index 04fff9b..85a3216 100644 --- a/includes/jobs/FrontersNotification.php +++ b/includes/jobs/FrontersNotification.php @@ -20,8 +20,6 @@ echo("Processing for system $system\n"); if ($system === "gdapd") { $name = "Raindrops System"; -} elseif ($system === "ynmuc") { - $name = "Cloudburst System"; } elseif ($system === "hrbom") { $name = "Moonglow"; } elseif (isset($app["other"]) && $system === $app["other"]["id"]) { @@ -112,8 +110,6 @@ if ($system !== $app["other"]["id"] || !isset($app["other"])) { if ($system === "gdapd") { $topic = "public-switches-raindrops"; -} else if ($system === "ynmuc") { - $topic = "public-switches-cloudburst"; } else { $topic = "main"; } diff --git a/includes/jobs/PKFronters.php b/includes/jobs/PKFronters.php index 4dd31f9..2dfac45 100644 --- a/includes/jobs/PKFronters.php +++ b/includes/jobs/PKFronters.php @@ -41,12 +41,8 @@ if (trim($data) !== "" && $data !== false && json_last_error() === JSON_ERROR_NO echo("Data is invalid: " . json_last_error_msg() . ": " . $data . "\n"); } -echo("Running Matrix integration...\n"); -chdir($_SERVER['DOCUMENT_ROOT'] . "/includes/external/matrix"); -exec("nice -n 19 node index.js " . ($system === "gdapd" ? "raindrops" : ($system === "ynmuc" ? "cloudburst" : "other"))); - echo("Running Signal integration...\n"); chdir("/opt/peh/includes/external/signal"); exec("nice -n 19 node index.js raindrops"); -exec("nice -n 19 node index.js cloudburst"); +exec("nice -n 19 node index.js moonglow"); exec("nice -n 19 node index.js other");
\ No newline at end of file diff --git a/includes/jobs/RefreshCache.php b/includes/jobs/RefreshCache.php index cac61a6..35e724a 100644 --- a/includes/jobs/RefreshCache.php +++ b/includes/jobs/RefreshCache.php @@ -15,8 +15,8 @@ $urls = [ "/-/alphabet", "/-/byspecies", "/-/relations", - "/cloudburst/-/history", "/raindrops/-/history", + "/moonglow/-/history", "/" . $app["other"]["slug"] . "/-/history" ]; diff --git a/includes/jobs/UpdateAssets.php b/includes/jobs/UpdateAssets.php index ee94537..5c5c288 100644 --- a/includes/jobs/UpdateAssets.php +++ b/includes/jobs/UpdateAssets.php @@ -99,9 +99,6 @@ function downloadAssets($system, $path = null) { echo("Downloading for gdapd\n"); downloadAssets("gdapd"); -echo("Downloading for ynmuc\n"); -downloadAssets("ynmuc"); - echo("Downloading for hrbom\n"); downloadAssets("hrbom"); |