aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connedit.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-15 14:07:35 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-15 14:07:35 +0200
commit5fcf1256bd3d60e03dc9b39779bbad6051ce4682 (patch)
treedf08ab9074342d259183d0a738778eef046842c4 /mod/connedit.php
parent0c77a127f2e10bcea23e49d5eef61ce444046b31 (diff)
downloadvolse-hubzilla-5fcf1256bd3d60e03dc9b39779bbad6051ce4682.tar.gz
volse-hubzilla-5fcf1256bd3d60e03dc9b39779bbad6051ce4682.tar.bz2
volse-hubzilla-5fcf1256bd3d60e03dc9b39779bbad6051ce4682.zip
whitespace
Diffstat (limited to 'mod/connedit.php')
-rw-r--r--mod/connedit.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/mod/connedit.php b/mod/connedit.php
index 129c07bd3..8374954fb 100644
--- a/mod/connedit.php
+++ b/mod/connedit.php
@@ -643,17 +643,13 @@ function connedit_content(&$a) {
foreach($global_perms as $k => $v) {
$thisperm = (($contact['abook_my_perms'] & $v[1]) ? "1" : '');
-
$checkinherited = ((($channel[$v[0]]) && ($channel[$v[0]] != PERMS_SPECIFIC)) ? "1" : '');
// For auto permissions (when $self is true) we don't want to look at existing
// permissions because they are enabled for the channel owner
-
if((! $self) && ($existing[$k]))
$thisperm = "1";
-
-
$perms[] = array('perms_' . $k, $v[3], (($contact['abook_their_perms'] & $v[1]) ? "1" : ""),$thisperm, $v[1], (($channel[$v[0]] == PERMS_SPECIFIC) ? '' : '1'), $v[4], $checkinherited);
}