summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Sample/SamplePlugin.php11
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;
+ }
}