summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-27 18:39:55 -0500
committerEvan Prodromou <evan@status.net>2010-01-27 18:39:55 -0500
commit97a1ef14d2bfd32ec14db57b56d861e9cad7d02d (patch)
treebb4c7d97ec7d426262b1aec2b866855b7f19d752
parent0373ab6fa437309ab790d5de4d43e241ba510c93 (diff)
using an action for output in OpenX plugin
-rw-r--r--plugins/OpenX/OpenXPlugin.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/OpenX/OpenXPlugin.php b/plugins/OpenX/OpenXPlugin.php
index a0d02ec11..96ed82b44 100644
--- a/plugins/OpenX/OpenXPlugin.php
+++ b/plugins/OpenX/OpenXPlugin.php
@@ -151,16 +151,17 @@ class OpenXPlugin extends UAPPlugin
/**
* Show an ad using OpenX
*
- * @param integer $zone Zone to show
+ * @param Action $action Action being shown
+ * @param integer $zone Zone to show
*
* @return void
*/
- protected function showAd($zone)
+ protected function showAd($action, $zone)
{
global $_OpenXPlugin_Script;
- $this->inlineScript(sprintf($_OpenXPlugin_Script, $this->adScript, $zone));
+ $action->inlineScript(sprintf($_OpenXPlugin_Script, $this->adScript, $zone));
return true;
}
} \ No newline at end of file