From b2c5020af7f85d4fe423cd6284f9ada701eab247 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 10 Jun 2015 18:51:39 -0700 Subject: diaspora disallowed by default --- include/diaspora.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/diaspora.php') diff --git a/include/diaspora.php b/include/diaspora.php index f0bd5d813..71425a6f8 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -65,8 +65,6 @@ function diaspora_dispatch($importer,$msg) { } $allowed = get_pconfig($importer['channel_id'],'system','diaspora_allowed'); - if($allowed === false) - $allowed = 1; if(! intval($allowed)) { logger('mod-diaspora: disallowed for channel ' . $importer['channel_name']); @@ -179,8 +177,6 @@ function diaspora_process_outbound($arr) { $allowed = get_pconfig($arr['channel']['channel_id'],'system','diaspora_allowed'); - if($allowed === false) - $allowed = 1; if(! intval($allowed)) { logger('mod-diaspora: disallowed for channel ' . $arr['channel']['channel_name']); -- cgit v1.2.3