Remove un-needed config variable for enabling/disabling Twitter integration
This commit is contained in:
parent
6b2d67216e
commit
871b3aa6c0
|
@ -425,8 +425,6 @@ class Action extends HTMLOutputter // lawsuit
|
|||
$connect = 'imsettings';
|
||||
} else if (common_config('sms', 'enabled')) {
|
||||
$connect = 'smssettings';
|
||||
} else if (common_config('twitter', 'enabled')) {
|
||||
$connect = 'twittersettings';
|
||||
}
|
||||
|
||||
$this->elementStart('dl', array('id' => 'site_nav_global_primary'));
|
||||
|
|
|
@ -177,8 +177,7 @@ $default =
|
|||
array('source' => 'StatusNet', # source attribute for Twitter
|
||||
'taguri' => null), # base for tag URIs
|
||||
'twitter' =>
|
||||
array('enabled' => true,
|
||||
'signin' => true,
|
||||
array('signin' => true,
|
||||
'consumer_key' => null,
|
||||
'consumer_secret' => null),
|
||||
'cache' =>
|
||||
|
|
|
@ -359,8 +359,6 @@ class FacebookPlugin extends Plugin
|
|||
$connect = 'imsettings';
|
||||
} else if (common_config('sms', 'enabled')) {
|
||||
$connect = 'smssettings';
|
||||
} else if (common_config('twitter', 'enabled')) {
|
||||
$connect = 'twittersettings';
|
||||
}
|
||||
|
||||
if (!empty($user)) {
|
||||
|
|
|
@ -312,8 +312,6 @@ class MobileProfilePlugin extends WAP20Plugin
|
|||
$connect = 'imsettings';
|
||||
} else if (common_config('sms', 'enabled')) {
|
||||
$connect = 'smssettings';
|
||||
} else if (common_config('twitter', 'enabled')) {
|
||||
$connect = 'twittersettings';
|
||||
}
|
||||
|
||||
$action->elementStart('ul', array('id' => 'site_nav_global_primary'));
|
||||
|
|
Loading…
Reference in New Issue
Block a user