]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add version information to GeoURL
authorEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:58:48 +0000 (17:58 -0800)
committerEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:58:48 +0000 (17:58 -0800)
plugins/GeoURLPlugin.php

index 30ff2c27881c7549e3e49402c7a978134a59ff51..01178f39c0f4c246089246ec792bf5476752daef 100644 (file)
@@ -116,4 +116,16 @@ class GeoURLPlugin extends Plugin
 
         return true;
     }
+
+    function onPluginVersion(&$versions)
+    {
+        $versions[] = array('name' => 'GeoURL',
+                            'version' => STATUSNET_VERSION,
+                            'author' => 'Evan Prodromou',
+                            'homepage' => 'http://status.net/wiki/Plugin:GeoURL',
+                            'rawdescription' =>
+                            _m('Ping <a href="http://geourl.org/">GeoURL</a> when '.
+                               'new geolocation-enhanced notices are posted.'));
+        return true;
+    }
 }