diff options
-rw-r--r-- | plugins/FacebookBridge/FacebookBridgePlugin.php | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/plugins/FacebookBridge/FacebookBridgePlugin.php b/plugins/FacebookBridge/FacebookBridgePlugin.php index 80a31d9cb..8b5d05e98 100644 --- a/plugins/FacebookBridge/FacebookBridgePlugin.php +++ b/plugins/FacebookBridge/FacebookBridgePlugin.php @@ -209,6 +209,19 @@ class FacebookBridgePlugin extends Plugin } /** + * If the plugin's installed, this should be accessible to admins + */ + function onAdminPanelCheck($name, &$isOK) + { + if ($name == 'facebook') { + $isOK = true; + return false; + } + + return true; + } + + /** * Add a Facebook tab to the admin panels * * @param Widget $nav Admin panel nav @@ -483,7 +496,7 @@ ENDOFSCRIPT; { $client = new Facebookclient($notice); $client->streamRemove(); - + return true; } |