From: Evan Prodromou Date: Fri, 8 Jan 2010 01:27:01 +0000 (-0800) Subject: add version information to Geonames plugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ff930d255537eb0d11f3792738c953e515f98fa9;p=quix0rs-gnu-social.git add version information to Geonames plugin --- 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; + } }