mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-09 18:35:10 +00:00
Monotone-Parent: 426b535e2da36fbf5368515550e8353fd5148bc7
Monotone-Revision: 325588b39d451a573e15dab87f6ccb9fd342a2f0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-09-10T15:08:32 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -883,10 +883,6 @@ static BOOL debugSoParts = NO;
|
||||
error = [[self imap4Connection] markURLDeleted: [self imap4URL]];
|
||||
if (error != nil) return error;
|
||||
|
||||
/* c) expunge */
|
||||
|
||||
error = [[self imap4Connection] expungeAtURL:[[self container] imap4URL]];
|
||||
if (error != nil) return error; // TODO: unflag as deleted?
|
||||
[self flushMailCaches];
|
||||
|
||||
return nil;
|
||||
@@ -895,15 +891,6 @@ static BOOL debugSoParts = NO;
|
||||
- (NSException *) moveToFolderNamed: (NSString *) folderName
|
||||
inContext: (id)_ctx
|
||||
{
|
||||
/*
|
||||
Trashing is three actions:
|
||||
a) copy to trash folder
|
||||
b) mark mail as deleted
|
||||
c) expunge folder
|
||||
|
||||
In case b) or c) fails, we can't do anything because IMAP4 doesn't tell us
|
||||
the ID used in the trash folder.
|
||||
*/
|
||||
SOGoMailAccounts *destFolder;
|
||||
NSEnumerator *folders;
|
||||
NSString *currentFolderName, *reason;
|
||||
@@ -947,11 +934,7 @@ static BOOL debugSoParts = NO;
|
||||
|
||||
error = [[self imap4Connection] markURLDeleted: [self imap4URL]];
|
||||
if (error != nil) return error;
|
||||
|
||||
/* c) expunge */
|
||||
|
||||
error = [[self imap4Connection] expungeAtURL:[[self container] imap4URL]];
|
||||
if (error != nil) return error; // TODO: unflag as deleted?
|
||||
[self flushMailCaches];
|
||||
|
||||
return nil;
|
||||
|
||||
Reference in New Issue
Block a user