From: Siebrand Mazeland Date: Mon, 20 Sep 2010 17:38:00 +0000 (+0200) Subject: Add onPluginVersion() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7f3731e2badc9db38e75e7a145dbccaf533fd59a;p=quix0rs-gnu-social.git Add onPluginVersion() --- diff --git a/plugins/Adsense/AdsensePlugin.php b/plugins/Adsense/AdsensePlugin.php index c02430a583..3d733e1509 100644 --- a/plugins/Adsense/AdsensePlugin.php +++ b/plugins/Adsense/AdsensePlugin.php @@ -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; + } }