aboutsummaryrefslogtreecommitdiffstats
path: root/include/delivery.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-09-30 14:31:20 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-09-30 14:31:20 +0200
commit60e0f79b9f9e94b19cc412eac41e5d8f8fec2383 (patch)
tree6a42698623f3c065851f2266acd9434b4c9776ff /include/delivery.php
parentdfb3ee6e29b6943f86ec75af12db5a1422a7e1dd (diff)
parent30b7c689292b3a5d06fb9c52a369b53ecb05e57f (diff)
downloadvolse-hubzilla-60e0f79b9f9e94b19cc412eac41e5d8f8fec2383.tar.gz
volse-hubzilla-60e0f79b9f9e94b19cc412eac41e5d8f8fec2383.tar.bz2
volse-hubzilla-60e0f79b9f9e94b19cc412eac41e5d8f8fec2383.zip
Merge remote-tracking branch 'friendika/master'
Diffstat (limited to 'include/delivery.php')
-rw-r--r--include/delivery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/delivery.php b/include/delivery.php
index 06cc1f679..3ab820b62 100644
--- a/include/delivery.php
+++ b/include/delivery.php
@@ -72,7 +72,7 @@ function delivery_run($argv, $argc){
$normal_mode = false;
$expire = true;
$items = q("SELECT * FROM `item` WHERE `uid` = %d AND `wall` = 1
- AND `deleted` = 1 AND `changed` > UTC_TIMESTAMP - INTERVAL 30 MINUTE",
+ AND `deleted` = 1 AND `changed` > UTC_TIMESTAMP() - INTERVAL 30 MINUTE",
intval($item_id)
);
$uid = $item_id;