From 8c7e076dae46a81e38620048d1fe3894c1a6d70e Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 6 Mar 2014 01:29:42 -0800 Subject: bring friends back --- include/zot.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index cfabbae2e..934348d2d 100644 --- a/include/zot.php +++ b/include/zot.php @@ -364,20 +364,20 @@ function zot_refresh($them,$channel = null, $force = false) { intval(ABOOK_FLAG_SELF) ); - if(($connected_set === 0 || $connected_set === 1) && ($connected_set !== $current_abook_unconnected)) { +// if(($connected_set === 0 || $connected_set === 1) && ($connected_set !== $current_abook_unconnected)) { // if they are in your address book but you aren't in theirs, and/or this does not // match your current connected state setting, toggle it. - $y1 = q("update abook set abook_flags = (abook_flags ^ %d) - where abook_xchan = '%s' and abook_channel = %d - and not (abook_flags & %d) limit 1", - intval(ABOOK_FLAG_UNCONNECTED), - dbesc($x['hash']), - intval($channel['channel_id']), - intval(ABOOK_FLAG_SELF) - ); - } +// $y1 = q("update abook set abook_flags = (abook_flags ^ %d) +// where abook_xchan = '%s' and abook_channel = %d +// and not (abook_flags & %d) limit 1", +// intval(ABOOK_FLAG_UNCONNECTED), +// dbesc($x['hash']), +// intval($channel['channel_id']), +// intval(ABOOK_FLAG_SELF) +// ); +// } if(! $y) logger('abook update failed'); -- cgit v1.2.3