summaryrefslogtreecommitdiff
path: root/includes/jobs
diff options
context:
space:
mode:
Diffstat (limited to 'includes/jobs')
-rw-r--r--includes/jobs/FrontersNotification.php4
-rw-r--r--includes/jobs/PKFronters.php6
-rw-r--r--includes/jobs/RefreshCache.php2
-rw-r--r--includes/jobs/UpdateAssets.php3
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");