From ff930d255537eb0d11f3792738c953e515f98fa9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 7 Jan 2010 17:27:01 -0800 Subject: [PATCH] add version information to Geonames plugin --- plugins/GeonamesPlugin.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/plugins/GeonamesPlugin.php b/plugins/GeonamesPlugin.php index 805166eaae..52cc9c97f9 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 Geonames service to get human-readable '. + 'names for locations based on user-provided lat/long pairs.')); + return true; + } }