]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/UserFlag/UserFlagPlugin.php
We're using URLMapper, not Net_URL_Mapper
[quix0rs-gnu-social.git] / plugins / UserFlag / UserFlagPlugin.php
index 490a08f4a8e64fc3362bfb76da179be924ddd857..a5fc470e079e19af0d9294837945130f8b0656cf 100644 (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'));