From de10a3921b6ae1eba4230f3248651fefa13e4b4d Mon Sep 17 00:00:00 2001 From: Jos Schellevis Date: Wed, 17 Dec 2014 13:57:08 +0000 Subject: [PATCH] Add option to force check if this is the first time and cronjob has not yet run --- src/www/widgets/widgets/system_information.widget.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/www/widgets/widgets/system_information.widget.php b/src/www/widgets/widgets/system_information.widget.php index ebfcf6f26..cdcb6bdf9 100644 --- a/src/www/widgets/widgets/system_information.widget.php +++ b/src/www/widgets/widgets/system_information.widget.php @@ -72,6 +72,8 @@ if($_REQUEST['getupdatestatus']) { } elseif (file_exists($file_last_check)) { $last_check=file_get_contents($file_last_check); $update_text="
No updates found (checked once a day)
last time on: ".$last_check."
Click to check now" ; + } else { + $update_text="
Daily cron has not yet run
Click here to try now"; } echo $update_text; exit;