Remove un-needed config variable for enabling/disabling Twitter integration

This commit is contained in:
Zach Copley 2010-03-01 21:52:31 -08:00
parent 6b2d67216e
commit 871b3aa6c0
4 changed files with 1 additions and 8 deletions

View File

@ -425,8 +425,6 @@ class Action extends HTMLOutputter // lawsuit
$connect = 'imsettings'; $connect = 'imsettings';
} else if (common_config('sms', 'enabled')) { } else if (common_config('sms', 'enabled')) {
$connect = 'smssettings'; $connect = 'smssettings';
} else if (common_config('twitter', 'enabled')) {
$connect = 'twittersettings';
} }
$this->elementStart('dl', array('id' => 'site_nav_global_primary')); $this->elementStart('dl', array('id' => 'site_nav_global_primary'));

View File

@ -177,8 +177,7 @@ $default =
array('source' => 'StatusNet', # source attribute for Twitter array('source' => 'StatusNet', # source attribute for Twitter
'taguri' => null), # base for tag URIs 'taguri' => null), # base for tag URIs
'twitter' => 'twitter' =>
array('enabled' => true, array('signin' => true,
'signin' => true,
'consumer_key' => null, 'consumer_key' => null,
'consumer_secret' => null), 'consumer_secret' => null),
'cache' => 'cache' =>

View File

@ -359,8 +359,6 @@ class FacebookPlugin extends Plugin
$connect = 'imsettings'; $connect = 'imsettings';
} else if (common_config('sms', 'enabled')) { } else if (common_config('sms', 'enabled')) {
$connect = 'smssettings'; $connect = 'smssettings';
} else if (common_config('twitter', 'enabled')) {
$connect = 'twittersettings';
} }
if (!empty($user)) { if (!empty($user)) {

View File

@ -312,8 +312,6 @@ class MobileProfilePlugin extends WAP20Plugin
$connect = 'imsettings'; $connect = 'imsettings';
} else if (common_config('sms', 'enabled')) { } else if (common_config('sms', 'enabled')) {
$connect = 'smssettings'; $connect = 'smssettings';
} else if (common_config('twitter', 'enabled')) {
$connect = 'twittersettings';
} }
$action->elementStart('ul', array('id' => 'site_nav_global_primary')); $action->elementStart('ul', array('id' => 'site_nav_global_primary'));