forked from GNUsocial/gnu-social
We're using URLMapper, not Net_URL_Mapper
This commit is contained in:
@@ -52,10 +52,10 @@ class SlicedFavoritesPlugin 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('favorited/:slice',
|
||||
array('action' => 'favoritedslice'),
|
||||
|
||||
Reference in New Issue
Block a user