diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-24 15:34:40 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-26 01:16:02 +0100 |
commit | 23e96dd4d1f2378a62dc24f2f11b3e8b645bac1c (patch) | |
tree | 6f3fe27c3519376cc50b3640eca255ba8141848d | |
parent | 6ae453bb7d7db232bead11c833d9447ee4e4ec0b (diff) |
Added version info for MobileProfile plugin
-rw-r--r-- | plugins/MobileProfile/MobileProfilePlugin.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index d426fc282..5c913836d 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; + } +} |