diaspora disallowed by default

This commit is contained in:
redmatrix
2015-06-10 18:51:39 -07:00
parent bc1b7afc85
commit b2c5020af7
3 changed files with 0 additions and 8 deletions

View File

@@ -137,8 +137,6 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
}
$allowed = get_pconfig($uid,'system','diaspora_allowed');
if($allowed === false)
$allowed = 1;
if(! intval($allowed)) {
$result['message'] = t('Protocol blocked for this channel.');