diff options
author | Mario <mario@mariovavti.com> | 2021-01-15 17:21:33 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-15 17:21:33 +0000 |
commit | 5a325cfa7b35b8ee927cc9887942a083645fb7e1 (patch) | |
tree | 8117c4704c91eb4ae071f1076ba4a81d544f5e6c | |
parent | 583d3b5580dcaacdfb466e50db0b86d00cd81745 (diff) | |
download | volse-hubzilla-5a325cfa7b35b8ee927cc9887942a083645fb7e1.tar.gz volse-hubzilla-5a325cfa7b35b8ee927cc9887942a083645fb7e1.tar.bz2 volse-hubzilla-5a325cfa7b35b8ee927cc9887942a083645fb7e1.zip |
remove unused variables
-rw-r--r-- | Zotlabs/Daemon/Queue.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Queue.php b/Zotlabs/Daemon/Queue.php index 814148404..4092da225 100644 --- a/Zotlabs/Daemon/Queue.php +++ b/Zotlabs/Daemon/Queue.php @@ -27,7 +27,6 @@ class Queue { ); if($r) { foreach($r as $rr) { - $site_url = ''; $h = parse_url($rr['outq_posturl']); $desturl = $h['scheme'] . '://' . $h['host'] . (($h['port']) ? ':' . $h['port'] : ''); q("update site set site_dead = 1 where site_dead = 0 and site_url = '%s' and site_update < %s - INTERVAL %s", @@ -37,7 +36,7 @@ class Queue { } } - $r = q("DELETE FROM outq WHERE outq_created < %s - INTERVAL %s", + q("DELETE FROM outq WHERE outq_created < %s - INTERVAL %s", db_utcnow(), db_quoteinterval('3 DAY') ); |