summaryrefslogtreecommitdiff
path: root/plugins/Adsense
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-20 19:38:00 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-20 19:38:00 +0200
commit7f3731e2badc9db38e75e7a145dbccaf533fd59a (patch)
tree9b663b1d29485919ed4c50ea6937e71f75f51163 /plugins/Adsense
parenta4a39a2cc36df617f5e076f38034d672a1208cd6 (diff)
Add onPluginVersion()
Diffstat (limited to 'plugins/Adsense')
-rw-r--r--plugins/Adsense/AdsensePlugin.php11
1 files changed, 11 insertions, 0 deletions
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;
+ }
}