From 4006945c7b63ef796332b904c8bbf8db48831618 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 6 Jan 2010 20:29:54 +0000 Subject: [PATCH] Monotone-Parent: 54aecb15753b5ea5826ff327a398c974bdabe25c Monotone-Revision: 97e795c79669e6b1d2bf9a2cb6e39a6912c0f5c7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-01-06T20:29:54 Monotone-Branch: ca.inverse.sogo --- UI/Scheduler/UIxAppointmentEditor.m | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/UI/Scheduler/UIxAppointmentEditor.m b/UI/Scheduler/UIxAppointmentEditor.m index d3afc1f4a..4f44e1ed1 100644 --- a/UI/Scheduler/UIxAppointmentEditor.m +++ b/UI/Scheduler/UIxAppointmentEditor.m @@ -323,15 +323,11 @@ if (![sm validatePermission: SoPerm_AddDocumentsImagesAndFiles onObject: co inContext: context]) - { - method = [NSString stringWithFormat:@"%@/%@.ics/editAsAppointment", - [co soURL], objectId]; - } + method = [NSString stringWithFormat:@"%@/%@.ics/editAsAppointment", + [co soURL], objectId]; else - { - method = [NSString stringWithFormat: @"%@/Calendar/personal/%@.vcf/editAsAppointment", - [self userFolderPath], objectId]; - } + method = [NSString stringWithFormat: @"%@/Calendar/personal/%@.vcf/editAsAppointment", + [self userFolderPath], objectId]; uri = [self completeHrefForMethod: method]; result = [self redirectToLocation: uri]; }