From 2b192b3840ac344c456b98304ea400f0af90da15 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sat, 13 Jan 2024 16:12:11 +0100 Subject: Updated 46 files and deleted 19 files (automated) --- includes/jobs/FrontersNotification.php | 4 ---- includes/jobs/PKFronters.php | 6 +----- includes/jobs/RefreshCache.php | 2 +- includes/jobs/UpdateAssets.php | 3 --- 4 files changed, 2 insertions(+), 13 deletions(-) (limited to 'includes/jobs') 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"); -- cgit