FacebookBridge - Don't hinder autoloading if the Facebook ID and secret aren't set
This commit is contained in:
parent
de6d46ea4b
commit
7d50189ec2
@ -179,10 +179,6 @@ class FacebookBridgePlugin extends Plugin
|
||||
// Always add the admin panel route
|
||||
$m->connect('admin/facebook', array('action' => 'facebookadminpanel'));
|
||||
|
||||
// Only add these routes if an application has been setup on
|
||||
// Facebook for the plugin to use.
|
||||
if ($this->hasApplication()) {
|
||||
|
||||
$m->connect(
|
||||
'main/facebooklogin',
|
||||
array('action' => 'facebooklogin')
|
||||
@ -200,8 +196,6 @@ class FacebookBridgePlugin extends Plugin
|
||||
array('action' => 'facebookdeauthorize')
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user