mirror of
https://github.com/friendica/friendica
synced 2025-04-25 12:30:11 +00:00
Mods to script runned via CLI to permits to run also included
This commit is contained in:
parent
e9251499dd
commit
2020ea23b1
4 changed files with 33 additions and 26 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue