forked from GNUsocial/gnu-social
We're using URLMapper, not Net_URL_Mapper
This commit is contained in:
@@ -107,11 +107,11 @@ class TwitterBridgePlugin extends Plugin
|
||||
*
|
||||
* Hook for RouterInitialized event.
|
||||
*
|
||||
* @param Net_URL_Mapper $m path-to-action mapper
|
||||
* @param URLMapper $m path-to-action mapper
|
||||
*
|
||||
* @return boolean hook return
|
||||
*/
|
||||
function onRouterInitialized($m)
|
||||
public function onRouterInitialized(URLMapper $m)
|
||||
{
|
||||
$m->connect('panel/twitter', array('action' => 'twitteradminpanel'));
|
||||
|
||||
|
Reference in New Issue
Block a user