From f6854e447ba9d45638c0f3a905b6d131a26414fd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 28 Sep 2007 04:06:44 +0100 Subject: fix hanged daemon notification --- modules/popup-dialog.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/popup-dialog.php') diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 34f6311c9..55ff54f9d 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -12,6 +12,11 @@ print __("Update daemon is enabled in configuration, but daemon process is not running, which prevents all feeds from updating. Please start the daemon process or contact instance owner."); + + $stamp = (int)read_stampfile("update_daemon.stamp"); + + print "

" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp); + } if ($param == 2) { @@ -31,6 +36,11 @@ perform a feed update. This could indicate a problem like crash or a hang. Please check the daemon process or contact instance owner."); + + $stamp = (int)read_stampfile("update_daemon.stamp"); + + print "

" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp); + } print ""; -- cgit v1.2.3