summaryrefslogtreecommitdiff
path: root/update_daemon.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-04-20 06:16:41 +0100
committerAndrew Dolgov <[email protected]>2006-04-20 06:16:41 +0100
commit550e37d59df7c830756d7810e002907b13ddb169 (patch)
tree0fe1c1831de80c6ce2822fc971a5c9816d81ad3d /update_daemon.php
parent658e1cc10cff8d1b29cc72d086584a5d7a7f1cef (diff)
fix typo, run witn E_ALL error level
Diffstat (limited to 'update_daemon.php')
-rw-r--r--update_daemon.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/update_daemon.php b/update_daemon.php
index 8c36fda68..d61ed69f1 100644
--- a/update_daemon.php
+++ b/update_daemon.php
@@ -3,6 +3,8 @@
// this daemon runs in the background and updates all feeds
// continuously
+ define('DEFAULT_ERROR_LEVEL', E_ALL);
+
declare(ticks = 1);
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon');
@@ -101,7 +103,7 @@
print "Feed: " . $line["feed_url"] . ": ";
printf("(%d/%d, %d) ", time() - strtotime($line["last_updated"]),
- $upd_intl*60, $owner_uid);
+ $upd_intl*60, $user_id);
if (!$line["last_updated"] ||
time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) {