fix auto-connect setting

This commit is contained in:
zottel 2016-08-12 23:27:03 +02:00 committed by redmatrix
parent 91b8c769bd
commit 7d2a17ea6e

View File

@ -336,9 +336,6 @@ class Connedit extends \Zotlabs\Web\Controller {
call_hooks('accept_follow', $arr); call_hooks('accept_follow', $arr);
} }
if(! is_null($autoperms))
set_pconfig(local_channel(),'system','autoperms',(($autoperms) ? $abook_my_perms : 0));
$this->connedit_clone($a); $this->connedit_clone($a);
if(($_REQUEST['pending']) && (!$_REQUEST['done'])) if(($_REQUEST['pending']) && (!$_REQUEST['done']))