From 2e2d534f213067e62bd9af327b6485c19cc0cced Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sun, 24 Oct 2010 21:51:06 -0400 Subject: [PATCH] Horde_iCalendar -> Horde_Icalendar --- imp/lib/Message.php | 8 ++++---- imp/lib/Mime/Viewer/Itip.php | 4 ++-- imp/lib/Mime/Viewer/Vcard.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/imp/lib/Message.php b/imp/lib/Message.php index 49d733ef8..6569775e1 100644 --- a/imp/lib/Message.php +++ b/imp/lib/Message.php @@ -359,20 +359,20 @@ class IMP_Message $body = $flowed->toFlowed(false); /* Convert to current charset */ - /* TODO: When Horde_iCalendar supports setting of charsets + /* TODO: When Horde_Icalendar supports setting of charsets * we need to set it there instead of relying on the fact * that both Nag and IMP use the same charset. */ $body = Horde_String::convertCharset($body, $body_part->getCharset(), 'UTF-8'); /* Create a new iCalendar. */ - $vCal = new Horde_iCalendar(); + $vCal = new Horde_Icalendar(); $vCal->setAttribute('PRODID', '-//The Horde Project//IMP ' . $GLOBALS['registry']->getVersion() . '//EN'); $vCal->setAttribute('METHOD', 'PUBLISH'); switch ($type) { case 'task': /* Create a new vTodo object using this message's contents. */ - $vTodo = Horde_iCalendar::newComponent('vtodo', $vCal); + $vTodo = Horde_Icalendar::newComponent('vtodo', $vCal); $vTodo->setAttribute('SUMMARY', $subject); $vTodo->setAttribute('DESCRIPTION', $body); $vTodo->setAttribute('PRIORITY', '3'); @@ -397,7 +397,7 @@ class IMP_Message case 'note': /* Create a new vNote object using this message's contents. */ - $vNote = Horde_iCalendar::newComponent('vnote', $vCal); + $vNote = Horde_Icalendar::newComponent('vnote', $vCal); $vNote->setAttribute('BODY', $subject . "\n". $body); /* Get the list of editable notepads. */ diff --git a/imp/lib/Mime/Viewer/Itip.php b/imp/lib/Mime/Viewer/Itip.php index 40d188009..13902aa83 100644 --- a/imp/lib/Mime/Viewer/Itip.php +++ b/imp/lib/Mime/Viewer/Itip.php @@ -809,8 +809,8 @@ class IMP_Mime_Viewer_Itip extends Horde_Mime_Viewer_Base /** * Returns the html for a vEvent. * - * @todo IMP 5: move organizerName() from Horde_iCalendar_vevent to - * Horde_iCalendar + * @todo IMP 5: move organizerName() from Horde_Icalendar_Vevent to + * Horde_Icalendar */ protected function _vTodo($vtodo, $id, $method, $msgs) { diff --git a/imp/lib/Mime/Viewer/Vcard.php b/imp/lib/Mime/Viewer/Vcard.php index 8a5d97109..e492d9382 100644 --- a/imp/lib/Mime/Viewer/Vcard.php +++ b/imp/lib/Mime/Viewer/Vcard.php @@ -36,7 +36,7 @@ class IMP_Mime_Viewer_Vcard extends Horde_Core_Mime_Viewer_Vcard /* Send the requested photo. */ $data = $this->_mimepart->getContents(); - $ical = new Horde_iCalendar(); + $ical = new Horde_Icalendar(); if (!$ical->parsevCalendar($data, 'VCALENDAR', $this->_mimepart->getCharset())) { // TODO: Error reporting return array(); -- 2.11.0