summaryrefslogtreecommitdiff
path: root/plugins/BlankAd/BlankAdPlugin.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-20 19:36:09 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-20 19:36:09 +0200
commit667cfcc84a98a3552d604b359cbd1093e254d842 (patch)
treeda95162940b68948f274496d34e26916cfdbdf8c /plugins/BlankAd/BlankAdPlugin.php
parentc932c0fdc14af781853aedea89ada2f10f46ea8f (diff)
* add onPluginVersion()
* remove superfluous whitespace.
Diffstat (limited to 'plugins/BlankAd/BlankAdPlugin.php')
-rw-r--r--plugins/BlankAd/BlankAdPlugin.php18
1 files changed, 12 insertions, 6 deletions
diff --git a/plugins/BlankAd/BlankAdPlugin.php b/plugins/BlankAd/BlankAdPlugin.php
index 0e2719aed..d7182ebc2 100644
--- a/plugins/BlankAd/BlankAdPlugin.php
+++ b/plugins/BlankAd/BlankAdPlugin.php
@@ -51,7 +51,6 @@ if (!defined('STATUSNET')) {
*
* @seeAlso Location
*/
-
class BlankAdPlugin extends UAPPlugin
{
/**
@@ -61,7 +60,6 @@ class BlankAdPlugin extends UAPPlugin
*
* @return void
*/
-
protected function showMediumRectangle($action)
{
$action->element('img',
@@ -78,7 +76,6 @@ class BlankAdPlugin extends UAPPlugin
*
* @return void
*/
-
protected function showRectangle($action)
{
$action->element('img',
@@ -95,7 +92,6 @@ class BlankAdPlugin extends UAPPlugin
*
* @return void
*/
-
protected function showWideSkyscraper($action)
{
$action->element('img',
@@ -112,7 +108,6 @@ class BlankAdPlugin extends UAPPlugin
*
* @return void
*/
-
protected function showLeaderboard($action)
{
$action->element('img',
@@ -121,4 +116,15 @@ class BlankAdPlugin extends UAPPlugin
'src' => common_path('plugins/BlankAd/redpixel.png')),
'');
}
-} \ No newline at end of file
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'BlankAdPlugin',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Evan Prodromou',
+ 'homepage' => 'http://status.net/wiki/Plugin:BlankAdPlugin',
+ 'rawdescription' =>
+ _m('Plugin for testing ad layout'));
+ return true;
+ }
+}