1
0
Fork 0

reverted change (which duplicated above query), thanks to @annano to point this out. #3010

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-14 17:41:28 +01:00
parent ba45a292c4
commit ab50585e9a

View file

@ -31,9 +31,7 @@ function was_recently_delayed($cid) {
if (dbm::is_result($r))
return true;
// Are there queue entries that were recently added?
$r = q("SELECT `id` FROM `queue` WHERE `cid` = %d
AND `last` > UTC_TIMESTAMP() - interval 15 minute LIMIT 1",
$r = q("select `term-date` from contact where id = %d and `term-date` != '' and `term-date` != '0000-00-00 00:00:00' limit 1",
intval($cid)
);