From 29a0b3ead86f015a2060d2520a7842a41fd0a82e Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 14 Jul 2026 17:31:54 -0400 Subject: [PATCH] Replace Function fetchUpdates() with checkForUpdates() --- admin/update.php | 2 +- cron/cron.php | 2 +- functions/app.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/update.php b/admin/update.php index 94178ae8..3d60e7a1 100644 --- a/admin/update.php +++ b/admin/update.php @@ -3,7 +3,7 @@ require_once "includes/inc_all_admin.php"; require_once "../includes/database_version.php"; -$updates = fetchUpdates(); +$updates = checkForUpdates(); $latest_version = $updates->latest_version; $current_version = $updates->current_version; diff --git a/cron/cron.php b/cron/cron.php index 305a1763..f6e0aae4 100644 --- a/cron/cron.php +++ b/cron/cron.php @@ -1251,7 +1251,7 @@ if ($config_telemetry > 0 || $config_telemetry == 2) { // Fetch Updates -$updates = fetchUpdates(); +$updates = checkForUpdates(); $update_message = $updates->update_message; diff --git a/functions/app.php b/functions/app.php index d7af3f79..925fd223 100644 --- a/functions/app.php +++ b/functions/app.php @@ -194,7 +194,7 @@ function display_folder_options($parent_folder_id, $client_id, $indent = 0) { } } -function fetchUpdates() { +function checkForUpdates() { global $repo_branch;