From: Evan Prodromou Date: Wed, 27 Jan 2010 23:39:55 +0000 (-0500) Subject: using an action for output in OpenX plugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=97a1ef14d2bfd32ec14db57b56d861e9cad7d02d;p=quix0rs-gnu-social.git using an action for output in OpenX plugin --- diff --git a/plugins/OpenX/OpenXPlugin.php b/plugins/OpenX/OpenXPlugin.php index a0d02ec117..96ed82b447 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