diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-19 13:33:02 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-19 14:30:26 +0100 |
commit | 99811c90b6568284d38311714aa415c916812db7 (patch) | |
tree | 6d87f5e36273ca109bf9c28a7a4fbab109fab178 | |
parent | 211cda540dc158d6e8ad3835de8ee8fdae570fe4 (diff) | |
download | volse-hubzilla-99811c90b6568284d38311714aa415c916812db7.tar.gz volse-hubzilla-99811c90b6568284d38311714aa415c916812db7.tar.bz2 volse-hubzilla-99811c90b6568284d38311714aa415c916812db7.zip |
fix php warning and remove logging
-rw-r--r-- | Zotlabs/Module/Settings/Permcats.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Zotlabs/Module/Settings/Permcats.php b/Zotlabs/Module/Settings/Permcats.php index 35d533196..336f69653 100644 --- a/Zotlabs/Module/Settings/Permcats.php +++ b/Zotlabs/Module/Settings/Permcats.php @@ -42,8 +42,6 @@ class Permcats { function get() { -logger('cmd: ' . \App::$cmd); - if(! local_channel()) return; @@ -85,7 +83,7 @@ logger('cmd: ' . \App::$cmd); if($existing[$k]) $thisperm = "1"; - $perms[] = array('perms_' . $k, $v, ((array_key_exists($k,$their_perms)) ? intval($their_perms[$k]) : ''),$thisperm, 1, (($checkinherited & PERMS_SPECIFIC) ? '' : '1'), '', $checkinherited); + $perms[] = array('perms_' . $k, $v, '',$thisperm, 1, (($checkinherited & PERMS_SPECIFIC) ? '' : '1'), '', $checkinherited); } @@ -114,4 +112,4 @@ logger('cmd: ' . \App::$cmd); return $o; } -}
\ No newline at end of file +} |