summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-05 16:49:23 +0300
committerAndrew Dolgov <[email protected]>2010-11-05 16:49:23 +0300
commit1ea20897a2f2fdfaf8ec2725771d2ff7c8bf27a7 (patch)
treeaf3515b825033428d6952c239523200af8efe919 /modules
parent8acc449c6bb2c0e185a6a82a6e29c06c0b8185e0 (diff)
remove read_stampfile()
Diffstat (limited to 'modules')
-rw-r--r--modules/popup-dialog.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index d998c3d96..4d68fb971 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -222,7 +222,7 @@
if ($param == 1) {
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");
+ $stamp = (int) file_get_contents(LOCK_DIRECTORY . "/update_daemon.stamp");
print "<p>" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp);
@@ -242,7 +242,7 @@
if ($param == 3) {
print __("Update daemon is taking too long to 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");
+ $stamp = (int) file_get_contents(LOCK_DIRECTORY . "/update_daemon.stamp");
print "<p>" . __("Last update:") . " " . date("Y.m.d, G:i", $stamp);