From f712baf025926777ed585e9aa5c13930f0c0a4d3 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 9 Jul 2010 14:52:22 -0400 Subject: [PATCH] simplify --- kronolith/lib/Kronolith.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()); -- 2.11.0