New administration module

Monotone-Parent: 8542ad5d3580057a3e361ef25f6c24df41841c52
Monotone-Revision: f6040f9d8af2e51778344f97f1c76c9125f0af7b

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-08-13T10:40:25
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle committed 2009-08-13 10:40:25 +00:00
1 parent 5eb391b009
commit 8e55eeb4b9
25 files changed
+478 -24

No files matched your search

+6 -12
View File
@@ -384,18 +384,12 @@ static NSString *LDAPContactInfoAttribute = nil;
SOGoUserFolder *userFolder;
folderType = [self queryParameterForKey: @"type"];
if ([folderType length])
{
userFolder = [self clientObject];
folders
= [userFolder foldersOfType: folderType
forUID: [userFolder ownerInContext: context]];
result = [self _foldersResponseForResults: folders];
}
else
result = [NSException exceptionWithHTTPStatus: 400
reason: @"missing 'type' parameter"];
userFolder = [self clientObject];
folders
= [userFolder foldersOfType: folderType
forUID: [userFolder ownerInContext: context]];
result = [self _foldersResponseForResults: folders];
return result;
}