Changeset View
Changeset View
Standalone View
Standalone View
plugins/kolab_tags/kolab_tags.php
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | // $this->load_config(); | ||||
*/ | */ | ||||
public function message_headers_output($args) | public function message_headers_output($args) | ||||
{ | { | ||||
// this hook can be executed many times | // this hook can be executed many times | ||||
if ($this->mail_headers_done) { | if ($this->mail_headers_done) { | ||||
return $args; | return $args; | ||||
} | } | ||||
if ($this->rc->action == 'print') { | |||||
return; | |||||
} | |||||
$this->mail_headers_done = true; | $this->mail_headers_done = true; | ||||
if ($engine = $this->engine()) { | if ($engine = $this->engine()) { | ||||
$args = $engine->message_headers_handler($args); | $args = $engine->message_headers_handler($args); | ||||
} | } | ||||
return $args; | return $args; | ||||
} | } | ||||
Show All 24 Lines |