mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-10 04:49:46 +00:00
Monotone-Parent: ff41de0005ad37b6858452da3e9c6d0cf21078af
Monotone-Revision: 9bd966b224328d78fb14df7e0b5cca2b4e4e4bfb Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-03-15T18:43:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2010-03-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoUserFolder.m (-davUsersQuery): we invoke
|
||||
"prepareDAVResponse" only when there is content to return.
|
||||
|
||||
* UI/Scheduler/UIxCalListingActions.m (_fixDates:): the events
|
||||
appearing in the month view needs to have their dates fixed too.
|
||||
Also, the algorithm was lightly simplified.
|
||||
|
||||
@@ -469,15 +469,13 @@
|
||||
NSString *content;
|
||||
|
||||
r = [queryContext response];
|
||||
[r prepareDAVResponse];
|
||||
|
||||
document = [[context request] contentAsDOMDocument];
|
||||
content = [self _davUsersFromQuery: document];
|
||||
if (content)
|
||||
if ([content length])
|
||||
{
|
||||
[r setStatus: 207];
|
||||
if ([content length])
|
||||
[r appendContentString: content];
|
||||
[r prepareDAVResponse];
|
||||
[r appendContentString: content];
|
||||
}
|
||||
else
|
||||
[r setStatus: 400];
|
||||
|
||||
Reference in New Issue
Block a user