mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
use static function emailadmin_imapbase::merge instead of ->mail->merge
This commit is contained in:
parent
73499db1c7
commit
38bf42b5db
@ -606,7 +606,7 @@ class mail_activesync implements activesync_plugin_write, activesync_plugin_send
|
|||||||
$beforePlain = $beforeHtml = "";
|
$beforePlain = $beforeHtml = "";
|
||||||
$beforeHtml = ($disableRuler ?' <br>':' <br><hr style="border:dotted 1px silver; width:90%; border:dotted 1px silver;">');
|
$beforeHtml = ($disableRuler ?' <br>':' <br><hr style="border:dotted 1px silver; width:90%; border:dotted 1px silver;">');
|
||||||
$beforePlain = ($disableRuler ?"\r\n\r\n":"\r\n\r\n-- \r\n");
|
$beforePlain = ($disableRuler ?"\r\n\r\n":"\r\n\r\n-- \r\n");
|
||||||
$sigText = $this->mail->merge($signature,array($GLOBALS['egw']->accounts->id2name($GLOBALS['egw_info']['user']['account_id'],'person_id')));
|
$sigText = emailadmin_imapbase::merge($signature,array($GLOBALS['egw']->accounts->id2name($GLOBALS['egw_info']['user']['account_id'],'person_id')));
|
||||||
if ($this->debugLevel>0) debugLog(__METHOD__.__LINE__.' Signature to use:'.$sigText);
|
if ($this->debugLevel>0) debugLog(__METHOD__.__LINE__.' Signature to use:'.$sigText);
|
||||||
$sigTextHtml = $beforeHtml.$sigText;
|
$sigTextHtml = $beforeHtml.$sigText;
|
||||||
$sigTextPlain = $beforePlain.translation::convertHTMLToText($sigText);
|
$sigTextPlain = $beforePlain.translation::convertHTMLToText($sigText);
|
||||||
|
Loading…
Reference in New Issue
Block a user