aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-06 01:29:42 -0800
committerfriendica <info@friendica.com>2014-03-06 01:29:42 -0800
commit8c7e076dae46a81e38620048d1fe3894c1a6d70e (patch)
treeb6de7429391adf798c2bbb172c6f8a4f9b57a79e /include
parent020ab09657dcfe61f2f690dac90eef64476433fa (diff)
downloadvolse-hubzilla-8c7e076dae46a81e38620048d1fe3894c1a6d70e.tar.gz
volse-hubzilla-8c7e076dae46a81e38620048d1fe3894c1a6d70e.tar.bz2
volse-hubzilla-8c7e076dae46a81e38620048d1fe3894c1a6d70e.zip
bring friends back
Diffstat (limited to 'include')
-rw-r--r--include/zot.php20
1 files changed, 10 insertions, 10 deletions
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');