]> git.mxchange.org Git - friendica.git/blobdiff - include/queue_fn.php
Merge pull request #416 from fermionic/frost-tweaks
[friendica.git] / include / queue_fn.php
index 2aca338f50d4e250707dbedf6e046d159c711281..e43912431c762fff263432701f0c02f914457df8 100644 (file)
@@ -23,6 +23,13 @@ function was_recently_delayed($cid) {
        );
        if(count($r))
                return true;
+
+       $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)
+       );
+       if(count($r))
+               return true;
+
        return false;
 }