aboutsummaryrefslogtreecommitdiffstats
path: root/include/queue_fn.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-13 19:59:20 -0700
committerfriendica <info@friendica.com>2012-06-13 19:59:20 -0700
commit7d8b087f4a90dfa8b69bb7660cf68a2b021a31a2 (patch)
tree852daf8fb843b2f69aa798c69b9bf89d81f17978 /include/queue_fn.php
parent24bf4632af7b060c9d0cbc39ff9cbc5baee741c3 (diff)
downloadvolse-hubzilla-7d8b087f4a90dfa8b69bb7660cf68a2b021a31a2.tar.gz
volse-hubzilla-7d8b087f4a90dfa8b69bb7660cf68a2b021a31a2.tar.bz2
volse-hubzilla-7d8b087f4a90dfa8b69bb7660cf68a2b021a31a2.zip
fix to imported youtube videos, updating of contact profile photos, do not remove "dead" contacts but archive them.
Diffstat (limited to 'include/queue_fn.php')
-rw-r--r--include/queue_fn.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/queue_fn.php b/include/queue_fn.php
index 2aca338f5..e43912431 100644
--- a/include/queue_fn.php
+++ b/include/queue_fn.php
@@ -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;
}