]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Poll/PollPlugin.php
We're using URLMapper, not Net_URL_Mapper
[quix0rs-gnu-social.git] / plugins / Poll / PollPlugin.php
index 636457aed48a414df203326b50233888d6d58408..92886dcc28defac7a39bb83d5a9b0a842fe69dcb 100644 (file)
@@ -86,11 +86,11 @@ class PollPlugin extends MicroAppPlugin
     /**
      * Map URLs to actions
      *
-     * @param Net_URL_Mapper $m path-to-action mapper
+     * @param URLMapper $m path-to-action mapper
      *
      * @return boolean hook value; true means continue processing, false means stop.
      */
-    function onRouterInitialized($m)
+    public function onRouterInitialized(URLMapper $m)
     {
         $m->connect('main/poll/new',
                     array('action' => 'newpoll'));