summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-07 17:27:01 -0800
committerEvan Prodromou <evan@status.net>2010-01-07 17:27:01 -0800
commitff930d255537eb0d11f3792738c953e515f98fa9 (patch)
tree9830e36804a25d00bf98df671d883ea4dcc8b635
parent4a4ac7a1082405621ce8e578099ddb7be329bb38 (diff)
add version information to Geonames plugin
-rw-r--r--plugins/GeonamesPlugin.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/GeonamesPlugin.php b/plugins/GeonamesPlugin.php
index 805166eaa..52cc9c97f 100644
--- a/plugins/GeonamesPlugin.php
+++ b/plugins/GeonamesPlugin.php
@@ -426,4 +426,16 @@ class GeonamesPlugin extends Plugin
return $document->geoname;
}
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'Geonames',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Evan Prodromou',
+ 'homepage' => 'http://status.net/wiki/Plugin:Geonames',
+ 'rawdescription' =>
+ _m('Uses <a href="http://geonames.org/">Geonames</a> service to get human-readable '.
+ 'names for locations based on user-provided lat/long pairs.'));
+ return true;
+ }
}