summaryrefslogtreecommitdiff
path: root/plugins/BlankAd
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BlankAd')
-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..49243aeea 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' => 'BlankAd',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Evan Prodromou',
+ 'homepage' => 'http://status.net/wiki/Plugin:BlankAdPlugin',
+ 'rawdescription' =>
+ _m('Plugin for testing ad layout.'));
+ return true;
+ }
+}