From: Michael M Slusarz Date: Tue, 23 Dec 2008 05:22:00 +0000 (-0700) Subject: These function names have changed. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=201f3d54ac9c45c0cc072f80da54d6c4dc12bb06;p=horde.git These function names have changed. --- diff --git a/framework/Mime/lib/Horde/Mime/Mdn.php b/framework/Mime/lib/Horde/Mime/Mdn.php index 93a2e1003..665b8e4ab 100644 --- a/framework/Mime/lib/Horde/Mime/Mdn.php +++ b/framework/Mime/lib/Horde/Mime/Mdn.php @@ -142,7 +142,7 @@ class Horde_Mime_Mdn $from_addr = $identity->getDefaultFromAddress(); $to = $this->getMdnReturnAddr(); - $ua = $this->_headers->getAgentHeader(); + $ua = $this->_headers->getUserAgent(); $orig_recip = $this->_headers->getValue('Original-Recipient'); if (!empty($orig_recip) && is_array($orig_recip)) { @@ -165,7 +165,7 @@ class Horde_Mime_Mdn /* Set up the mail headers. */ $msg_headers = new Horde_Mime_Headers(); $msg_headers->addMessageIdHeader(); - $msg_headers->addAgentHeader($ua); + $msg_headers->addUserAgentHeader($ua); $msg_headers->addHeader('Date', date('r')); $msg_headers->addHeader('From', $from_addr); $msg_headers->addHeader('To', $this->getMdnReturnAddr());