diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-01-24 22:01:56 +0100 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-01-24 22:01:56 +0100 |
commit | 2020ea23b106c159a705c26e6c79156aafde75ba (patch) | |
tree | 32d813d034fe626a7d85279cb20c2497857e5b0e /include/queue.php | |
parent | e9251499dd63523a552bc3bf6274e3b851cba4c8 (diff) | |
download | volse-hubzilla-2020ea23b106c159a705c26e6c79156aafde75ba.tar.gz volse-hubzilla-2020ea23b106c159a705c26e6c79156aafde75ba.tar.bz2 volse-hubzilla-2020ea23b106c159a705c26e6c79156aafde75ba.zip |
Mods to script runned via CLI to permits to run also included
Diffstat (limited to 'include/queue.php')
-rw-r--r-- | include/queue.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/queue.php b/include/queue.php index 96ddfa81b..fae93e328 100644 --- a/include/queue.php +++ b/include/queue.php @@ -50,9 +50,9 @@ function remove_queue_item($id) { $r = q("SELECT `id` FROM `queue` WHERE `last` < UTC_TIMESTAMP() - INTERVAL 15 MINUTE "); - if(! count($r)) - killme(); - + if(! count($r)){ + killme(); return; + } // delivery loop require_once('include/salmon.php'); |