From: Sarven Capadisli Date: Sun, 24 Jan 2010 14:34:40 +0000 (+0100) Subject: Added version info for MobileProfile plugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=23e96dd4d1f2378a62dc24f2f11b3e8b645bac1c;p=quix0rs-gnu-social.git Added version info for MobileProfile plugin --- diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index d426fc282b..5c913836dc 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -414,7 +414,15 @@ class MobileProfilePlugin extends WAP20Plugin return $proto.'://'.$serverpart.'/'.$pathpart.$relative; } -} - -?> + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'MobileProfile', + 'version' => STATUSNET_VERSION, + 'author' => 'Sarven Capadisli', + 'homepage' => 'http://status.net/wiki/Plugin:MobileProfile', + 'rawdescription' => + _m('XHTML MobileProfile output for supporting user agents.')); + return true; + } +}