1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-01 05:09:13 +00:00

fix hanged daemon notification

This commit is contained in:
Andrew Dolgov
2007-09-28 04:06:44 +01:00
parent e2438754ff
commit f6854e447b
2 changed files with 17 additions and 6 deletions

View File

@@ -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 "<p>" . __("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 "<p>" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp);
}
print "</div>";