diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-15 19:46:24 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-15 19:46:24 -0800 |
commit | 2aa3acae6b42ba5f7ac4d984162a9891b9c45d3c (patch) | |
tree | 9dc773afab090dfe0fc6f1357eca1748f2cc9965 /include/deliver.php | |
parent | 8514789da9e37899f54a46fc1231e7c5d114e9ce (diff) | |
download | volse-hubzilla-2aa3acae6b42ba5f7ac4d984162a9891b9c45d3c.tar.gz volse-hubzilla-2aa3acae6b42ba5f7ac4d984162a9891b9c45d3c.tar.bz2 volse-hubzilla-2aa3acae6b42ba5f7ac4d984162a9891b9c45d3c.zip |
remove deprecated table
Diffstat (limited to 'include/deliver.php')
-rw-r--r-- | include/deliver.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/deliver.php b/include/deliver.php index a333e6fe3..cef8f7912 100644 --- a/include/deliver.php +++ b/include/deliver.php @@ -41,17 +41,12 @@ function deliver_run($argv, $argc) { ); if($y) { if(intval($y[0]['site_dead'])) { - q("delete from outq where outq_posturl = '%s'", - dbesc($r[0]['outq_posturl']) - ); + remove_queue_by_posturl($r[0]['outq_posturl']); logger('dead site ignored ' . $base); continue; } if($y[0]['site_update'] < datetime_convert('UTC','UTC','now - 1 month')) { - q("update outq set outq_priority = %d where outq_hash = '%s'", - intval($r[0]['outq_priority'] + 10), - dbesc($r[0]['outq_hash']) - ); + update_queue_item($r[0]['outq_hash'],10); logger('immediate delivery deferred for site ' . $base); continue; } |