aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
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);