From 7be850ecde5e62cccfa286fb73ad568f75ce2c08 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 9 Jul 2010 12:33:02 -0400 Subject: [PATCH] Revert "prune code that produced no effects." This reverts commit 376aa47974882aa477dfc7ba585387fd6811c326. --- imp/lib/Mime/Viewer/Itip.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/imp/lib/Mime/Viewer/Itip.php b/imp/lib/Mime/Viewer/Itip.php index dbd4f3f06..e734df4a8 100644 --- a/imp/lib/Mime/Viewer/Itip.php +++ b/imp/lib/Mime/Viewer/Itip.php @@ -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')) { -- 2.11.0