From 23563c7188e089929b60f9e10721c6fc43a220ff Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 22 Jun 2023 23:06:12 +0200 Subject: Updated 15 files, added includes/maintenance/deleteUnusedAssets.php and deleted 4944 files (automated) --- includes/refresh.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'includes/refresh.php') diff --git a/includes/refresh.php b/includes/refresh.php index 8c50dfb..8263f8e 100644 --- a/includes/refresh.php +++ b/includes/refresh.php @@ -1,12 +1,10 @@ = 3600) { echo("Backup skipped\n"); } -echo("Fetching school information...\n"); -file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/school.json", "{}"); - -chdir("./external/school"); -exec("node index.js"); -chdir("../.."); - -echo("Fetched school information\n"); - echo("Updating address book...\n"); $contacts = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/addressbook/contacts.json"), true); -- cgit