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

@@ -67,11 +67,11 @@ class UserFlagPlugin extends Plugin
/**
* Add our actions to the URL router
*
* @param Net_URL_Mapper $m URL mapper for this hit
* @param URLMapper $m URL mapper for this hit
*
* @return boolean hook return
*/
function onRouterInitialized($m)
public function onRouterInitialized(URLMapper $m)
{
$m->connect('main/flag/profile', array('action' => 'flagprofile'));
$m->connect('main/flag/clear', array('action' => 'clearflag'));