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';
|
$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'));
|
||||||
|
|
|
@ -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' =>
|
||||||
|
|
|
@ -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)) {
|
||||||
|
|
|
@ -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'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user