initial trinidad checkin

This commit is contained in:
friendica
2014-12-29 23:48:04 -08:00
parent 50943f439c
commit 5cfe051139
4 changed files with 5 additions and 4 deletions

View File

@@ -131,7 +131,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
}
else {
if(! ($is_http)) {
if(! intval(get_config('system','diaspora_enabled'))) {
if(! intval(get_config('system','diaspora_enabled')) || defined('TRINIDAD')) {
$result['message'] = t('Protocol disabled.');
return $result;
}

View File

@@ -564,7 +564,7 @@ function notifier_run($argv, $argc){
if($hub['hubloc_network'] === 'diaspora' || $hub['hubloc_network'] === 'friendica-over-diaspora') {
if(! get_config('system','diaspora_enabled'))
if(! get_config('system','diaspora_enabled') || defined('TRINIDAD'))
continue;
require_once('include/diaspora.php');