From 5a325cfa7b35b8ee927cc9887942a083645fb7e1 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 15 Jan 2021 17:21:33 +0000 Subject: remove unused variables --- Zotlabs/Daemon/Queue.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Zotlabs/Daemon/Queue.php') 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') ); -- cgit v1.2.3