diff options
author | Sarven Capadisli <csarven@status.net> | 2010-03-03 13:38:31 -0500 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-03-03 13:38:31 -0500 |
commit | e6fd387c94f858a7cc63b90b02ad2afb135b6aba (patch) | |
tree | 2c5fe7d08bc9b8b5c6d75b98df579ed2ed52893a /plugins/Facebook/FacebookPlugin.php | |
parent | 023b9bb00f096a532218b6689c1f035051653c8e (diff) | |
parent | a82cd89a976d9c7893ce133dda7d78cf087cd473 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'plugins/Facebook/FacebookPlugin.php')
-rw-r--r-- | plugins/Facebook/FacebookPlugin.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/Facebook/FacebookPlugin.php b/plugins/Facebook/FacebookPlugin.php index 90ed7351f..65d4409b5 100644 --- a/plugins/Facebook/FacebookPlugin.php +++ b/plugins/Facebook/FacebookPlugin.php @@ -436,16 +436,7 @@ class FacebookPlugin extends Plugin function onStartPrimaryNav($action) { if (self::hasKeys()) { - $user = common_current_user(); - - $connect = 'FBConnectSettings'; - if (common_config('xmpp', 'enabled')) { - $connect = 'imsettings'; - } else if (common_config('sms', 'enabled')) { - $connect = 'smssettings'; - } - if (!empty($user)) { $fbuid = $this->loggedIn(); @@ -472,7 +463,6 @@ class FacebookPlugin extends Plugin 'src' => $iconurl)); $action->elementEnd('li'); - } } } |