See ChangeLog

Monotone-Parent: f843025ba847f98dd8c231cef0b6ea7e430dc9b6
Monotone-Revision: d4476114c133c77a0b6b0b596165243704a68fb6

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-07-13T18:55:44
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2011-07-13 18:55:44 +00:00
parent 64758d5e05
commit 80157e54ed
4 changed files with 15 additions and 9 deletions
+4 -4
View File
@@ -234,20 +234,20 @@
NSArray *uids;
NSString *value;
NSDictionary *data;
BOOL withoutTrash;
BOOL withTrash;
co = [self clientObject];
value = [[context request] formValueForKey: @"uid"];
withoutTrash = [[[context request] formValueForKey: @"withoutTrash"] boolValue];
withTrash = ![[[context request] formValueForKey: @"withoutTrash"] boolValue];
response = nil;
if ([value length] > 0)
{
uids = [value componentsSeparatedByString: @","];
response = (WOResponse *) [co deleteUIDs: uids useTrashFolder: !withoutTrash inContext: context];
response = (WOResponse *) [co deleteUIDs: uids useTrashFolder: &withTrash inContext: context];
if (!response)
{
if (withoutTrash)
if (!withTrash)
{
// When not using a trash folder, return the quota
account = [co mailAccountFolder];