From 7f3731e2badc9db38e75e7a145dbccaf533fd59a Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 20 Sep 2010 19:38:00 +0200 Subject: [PATCH] Add onPluginVersion() --- plugins/Adsense/AdsensePlugin.php | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; + } } -- 2.39.5