X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FExtendedProfile%2FExtendedProfilePlugin.php;h=a1717c897e9d569a58657b33bc94e77346b28370;hb=bc030da3208143afcb869ce4611cb39d8d465fa6;hp=aa456c2f9b700890103592f3a9a1dde8ec9c84ae;hpb=220b51d8be61e9bd316567f3ad03fffdbc4b7526;p=quix0rs-gnu-social.git diff --git a/plugins/ExtendedProfile/ExtendedProfilePlugin.php b/plugins/ExtendedProfile/ExtendedProfilePlugin.php index aa456c2f9b..a1717c897e 100644 --- a/plugins/ExtendedProfile/ExtendedProfilePlugin.php +++ b/plugins/ExtendedProfile/ExtendedProfilePlugin.php @@ -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',