mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user