diff options
author | Evan Prodromou <evan@status.net> | 2010-01-07 17:37:44 -0800 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-07 17:37:44 -0800 |
commit | 42834944e07926ab1d42c3fb5c498e1f7da85407 (patch) | |
tree | 253d0ecd3e778064e501c17e51be3567b191dcb4 | |
parent | 9693b2cf2ff66cccc40497ac6b4c2dcc0f574ea2 (diff) |
add version info to SamplePlugin
-rw-r--r-- | plugins/Sample/SamplePlugin.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/Sample/SamplePlugin.php b/plugins/Sample/SamplePlugin.php index 7ea956af6..913741226 100644 --- a/plugins/Sample/SamplePlugin.php +++ b/plugins/Sample/SamplePlugin.php @@ -266,5 +266,16 @@ class SamplePlugin extends Plugin _m('Hello'), _m('A warm greeting'), false, 'nav_hello'); return true; } + + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'Sample', + 'version' => STATUSNET_VERSION, + 'author' => 'Brion Vibber, Evan Prodromou', + 'homepage' => 'http://status.net/wiki/Plugin:Sample', + 'rawdescription' => + _m('A sample plugin to show basics of development for new hackers.')); + return true; + } } |