]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ExtendedProfile/ExtendedProfilePlugin.php
Fix undefined variables on Favorite plugin by XRevan86
[quix0rs-gnu-social.git] / plugins / ExtendedProfile / ExtendedProfilePlugin.php
index aa456c2f9b700890103592f3a9a1dde8ec9c84ae..a1717c897e9d569a58657b33bc94e77346b28370 100644 (file)
@@ -29,13 +29,13 @@ if (!defined('STATUSNET')) {
  */
 class ExtendedProfilePlugin extends Plugin
 {
-    function onPluginVersion(&$versions)
+    function onPluginVersion(array &$versions)
     {
         $versions[] = array(
             'name' => 'ExtendedProfile',
             'version' => GNUSOCIAL_VERSION,
             'author' => 'Brion Vibber, Samantha Doherty, Zach Copley',
-            'homepage' => 'http://status.net/wiki/Plugin:ExtendedProfile',
+            'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ExtendedProfile',
             // TRANS: Plugin description.
             'rawdescription' => _m('UI extensions for additional profile fields.')
         );
@@ -48,11 +48,11 @@ class ExtendedProfilePlugin 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(
             ':nickname/detail',