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

@@ -64,11 +64,11 @@ class ModPlusPlugin extends Plugin
*
* Hook for RouterInitialized event.
*
* @param Net_URL_Mapper $m URL mapper
* @param URLMapper $m URL mapper
*
* @return boolean hook return
*/
function onStartInitializeRouter($m)
public function onStartInitializeRouter(URLMapper $m)
{
$m->connect('user/remote/:id',
array('action' => 'remoteprofile'),