mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-10 04:49:46 +00:00
merge of '025dc837dc0929ee47957b2385959532807a1b9c'
and 'a6eb90bb705891f429bad2f9b15a3fc4f18c040c' Monotone-Parent: 025dc837dc0929ee47957b2385959532807a1b9c Monotone-Parent: a6eb90bb705891f429bad2f9b15a3fc4f18c040c Monotone-Revision: 1c444d4c347ea6897dc7ebdf7e4f2149271c5203 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-07-01T20:22:39 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -64,6 +64,7 @@
|
||||
#import <SOGo/SOGoUserFolder.h>
|
||||
#import <SOGo/SOGoWebDAVAclManager.h>
|
||||
#import <SOGo/SOGoWebDAVValue.h>
|
||||
#import <SOGo/WORequest+SOGo.h>
|
||||
|
||||
#import "iCalEntityObject+SOGo.h"
|
||||
#import "SOGoAppointmentObject.h"
|
||||
@@ -1937,6 +1938,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
id obj;
|
||||
NSString *url;
|
||||
BOOL handledLater;
|
||||
WORequest *rq;
|
||||
|
||||
/* first check attributes directly bound to the application */
|
||||
handledLater = [self requestNamedIsHandledLater: _key];
|
||||
@@ -1947,9 +1949,11 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
obj = [super lookupName:_key inContext:_ctx acquire:NO];
|
||||
if (!obj)
|
||||
{
|
||||
if ([self isValidContentName:_key])
|
||||
rq = [_ctx request];
|
||||
if ([self isValidContentName:_key]
|
||||
&& [rq handledByDefaultHandler])
|
||||
{
|
||||
url = [[[_ctx request] uri] urlWithoutParameters];
|
||||
url = [[rq uri] urlWithoutParameters];
|
||||
if ([url hasSuffix: @"AsTask"])
|
||||
obj = [SOGoTaskObject objectWithName: _key
|
||||
inContainer: self];
|
||||
|
||||
Reference in New Issue
Block a user