We're using URLMapper, not Net_URL_Mapper

This commit is contained in:
Mikael Nordfeldth
2014-11-07 15:24:05 +01:00
parent 29ac42addd
commit faae9d069a
28 changed files with 56 additions and 56 deletions

View File

@@ -153,11 +153,11 @@ class FacebookBridgePlugin extends Plugin
/**
* Map URLs to actions
*
* @param Net_URL_Mapper $m path-to-action mapper
* @param URLMapper $m path-to-action mapper
*
* @return boolean hook value; true means continue processing, false means stop.
*/
function onRouterInitialized($m)
public function onRouterInitialized(URLMapper $m)
{
// Always add the admin panel route
$m->connect('panel/facebook', array('action' => 'facebookadminpanel'));