diff options
author | friendica <info@friendica.com> | 2012-04-27 17:17:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-27 17:17:58 -0700 |
commit | 26c53580d128d3ebbbc3d6172525b80690a63255 (patch) | |
tree | 10069eae269f2530f8964d356907d83c2141fc9d /include/text.php | |
parent | 0ab6b60a52fc27d8a37917b3b3e25de37c8fd372 (diff) | |
download | volse-hubzilla-26c53580d128d3ebbbc3d6172525b80690a63255.tar.gz volse-hubzilla-26c53580d128d3ebbbc3d6172525b80690a63255.tar.bz2 volse-hubzilla-26c53580d128d3ebbbc3d6172525b80690a63255.zip |
implement contact archival
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index 8c8db66a9..af32b2476 100644 --- a/include/text.php +++ b/include/text.php @@ -558,7 +558,7 @@ function contact_block() { if((! is_array($a->profile)) || ($a->profile['hide-friends'])) return $o; - $r = q("SELECT COUNT(*) AS `total` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 and `pending` = 0 AND `hidden` = 0", + $r = q("SELECT COUNT(*) AS `total` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 and `pending` = 0 AND `hidden` = 0 AND `archive` = 0", intval($a->profile['uid']) ); if(count($r)) { @@ -569,7 +569,7 @@ function contact_block() { $micropro = Null; } else { - $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 and `pending` = 0 AND `hidden` = 0 ORDER BY RAND() LIMIT %d", + $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 and `pending` = 0 AND `hidden` = 0 AND `archive` = 0 ORDER BY RAND() LIMIT %d", intval($a->profile['uid']), intval($shown) ); |