From: Michael J. Rubinsky Date: Fri, 9 Jul 2010 18:52:22 +0000 (-0400) Subject: simplify X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f712baf025926777ed585e9aa5c13930f0c0a4d3;p=horde.git simplify --- diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index bcc6f1788..41e690e50 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -2203,15 +2203,14 @@ class Kronolith case self::ITIP_REQUEST: default: + $method = 'REQUEST'; if ($status['response'] == self::RESPONSE_NONE) { /* Invitation. */ - $method = 'REQUEST'; $filename = 'event-invitation.ics'; $view->subject = $event->getTitle(); $view->header = sprintf(_("%s wishes to make you aware of \"%s\"."), $ident->getName(), $event->getTitle()); } else { /* Update. */ - $method = 'REQUEST'; $filename = 'event-update.ics'; $view->subject = sprintf(_("Updated: %s."), $event->getTitle()); $view->header = sprintf(_("%s wants to notify you about changes of \"%s\"."), $ident->getName(), $event->getTitle());