From: Michael J. Rubinsky Date: Fri, 9 Jul 2010 16:33:02 +0000 (-0400) Subject: Revert "prune code that produced no effects." X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7be850ecde5e62cccfa286fb73ad568f75ce2c08;p=horde.git Revert "prune code that produced no effects." This reverts commit 376aa47974882aa477dfc7ba585387fd6811c326. --- 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')) {