]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add onPluginVersion()
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 20 Sep 2010 17:38:00 +0000 (19:38 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 20 Sep 2010 17:38:00 +0000 (19:38 +0200)
plugins/Adsense/AdsensePlugin.php

index c02430a58383ebd76df9902c8393802bedd16ec9..3d733e15099cdd76b4c0d7b09f5cde1c659f3f7f 100644 (file)
@@ -198,4 +198,15 @@ class AdsensePlugin extends UAPPlugin
         }
         return true;
     }
+
+    function onPluginVersion(&$versions)
+    {
+        $versions[] = array('name' => 'BlankAdPlugin',
+                            'version' => STATUSNET_VERSION,
+                            'author' => 'Evan Prodromou',
+                            'homepage' => 'http://status.net/wiki/Plugin:Adsense',
+                            'rawdescription' =>
+                            _m('Plugin to add Google Adsense to StatusNet sites.'));
+        return true;
+    }
 }