git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 9a51caa4 authored by Zach Copley's avatar Zach Copley

Automatically allow admins to use the Twitter admin panel if the TwitterBridge plugin is installed

parent 58ea0004
......@@ -287,6 +287,18 @@ class TwitterBridgePlugin extends Plugin
return true;
}
/**
* If the plugin's installed, this should be accessible to admins
*/
function onAdminPanelCheck($name, &$isOK)
{
if ($name == 'twitter') {
$isOK = true;
return false;
}
return true;
}
/**
* Add a Twitter tab to the admin panel
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment