Monotone-Parent: 54aecb15753b5ea5826ff327a398c974bdabe25c

Monotone-Revision: 97e795c79669e6b1d2bf9a2cb6e39a6912c0f5c7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-01-06T20:29:54
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-01-06 20:29:54 +00:00
parent bc442609ac
commit 4006945c7b

View File

@@ -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];
}