Horde_iCalendar -> Horde_Icalendar
authorChuck Hagenbuch <chuck@horde.org>
Mon, 25 Oct 2010 01:51:06 +0000 (21:51 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 25 Oct 2010 01:51:06 +0000 (21:51 -0400)
imp/lib/Message.php
imp/lib/Mime/Viewer/Itip.php
imp/lib/Mime/Viewer/Vcard.php

index 49d733e..6569775 100644 (file)
@@ -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. */
index 40d1880..13902aa 100644 (file)
@@ -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)
     {
index 8a5d971..e492d93 100644 (file)
@@ -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();