We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 97a1ef14 authored by Evan Prodromou's avatar Evan Prodromou

using an action for output in OpenX plugin

parent 0373ab6f
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment