Revert "prune code that produced no effects."
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 9 Jul 2010 16:33:02 +0000 (12:33 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 9 Jul 2010 16:33:02 +0000 (12:33 -0400)
This reverts commit 376aa47974882aa477dfc7ba585387fd6811c326.

imp/lib/Mime/Viewer/Itip.php

index dbd4f3f..e734df4 100644 (file)
@@ -159,6 +159,10 @@ class IMP_Horde_Mime_Viewer_Itip extends Horde_Mime_Viewer_Driver
                 case 'vEvent':
                     $handled = false;
                     $guid = $components[$key]->getAttribute('UID');
+                    // Check if this is an update.
+                    try {
+                        $registry->call('calendar/export', array($guid, 'text/calendar'));
+                    } catch (Horde_Exception $e) {}
 
                     // Try to update in calendar.
                     if ($registry->hasMethod('calendar/replace')) {