aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-02 00:19:04 -0700
committerfriendica <info@friendica.com>2012-11-02 00:19:04 -0700
commit83cf11dd956c0fbb84c1c50c643b43a3824dc6da (patch)
tree72ef390c3529b82698cc1d2466109a32bdedf4f3 /include/follow.php
parent37653a376085e7f155ec101b937583f5d08012cc (diff)
downloadvolse-hubzilla-83cf11dd956c0fbb84c1c50c643b43a3824dc6da.tar.gz
volse-hubzilla-83cf11dd956c0fbb84c1c50c643b43a3824dc6da.tar.bz2
volse-hubzilla-83cf11dd956c0fbb84c1c50c643b43a3824dc6da.zip
fixed the hash, now onward & upward
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/follow.php b/include/follow.php
index 3cf29c733..9cf501ef4 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -78,13 +78,11 @@ function new_contact($uid,$url,$channel,$interactive = false) {
$global_perms = get_perms();
foreach($j->permissions as $k => $v) {
- logger('perm: ' . $k . ' = ' . $v);
- logger('global: ' . print_r($global_perms[$k],true));
- if($v)
+ if($v) {
$their_perms = $their_perms | intval($global_perms[$k][1]);
+ }
}
- logger('Permissions: ' . $their_perms);