diff options
author | Evan Prodromou <evan@status.net> | 2010-01-07 17:27:01 -0800 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-01-07 17:27:01 -0800 |
commit | ff930d255537eb0d11f3792738c953e515f98fa9 (patch) | |
tree | 9830e36804a25d00bf98df671d883ea4dcc8b635 | |
parent | 4a4ac7a1082405621ce8e578099ddb7be329bb38 (diff) |
add version information to Geonames plugin
-rw-r--r-- | plugins/GeonamesPlugin.php | 12 |
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; + } } |