forked from GNUsocial/gnu-social
We're using URLMapper, not Net_URL_Mapper
This commit is contained in:
@@ -48,10 +48,10 @@ class OStatusPlugin 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)
|
||||
{
|
||||
// Discovery actions
|
||||
$m->connect('main/ostatustag',
|
||||
|
Reference in New Issue
Block a user