From 7f3731e2badc9db38e75e7a145dbccaf533fd59a Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 20 Sep 2010 19:38:00 +0200 Subject: Add onPluginVersion() --- plugins/Adsense/AdsensePlugin.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'plugins/Adsense/AdsensePlugin.php') diff --git a/plugins/Adsense/AdsensePlugin.php b/plugins/Adsense/AdsensePlugin.php index c02430a58..3d733e150 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; + } } -- cgit v1.2.3-54-g00ecf