]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added version info for MobileProfile plugin
authorSarven Capadisli <csarven@status.net>
Sun, 24 Jan 2010 14:34:40 +0000 (15:34 +0100)
committerSarven Capadisli <csarven@status.net>
Sun, 24 Jan 2010 14:35:22 +0000 (15:35 +0100)
plugins/MobileProfile/MobileProfilePlugin.php

index d426fc282b34d2a78de1aff98fcadfe76894e7a1..5c913836dccd7db6f6375e88bf24626ee596c8d2 100644 (file)
@@ -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;
+    }
+}