Monotone-Parent: b68886fef709d3931ecfc6a232969b39ca2576c0

Monotone-Revision: 83dfeb0263c5486d96e98bedd1e997bf5a368823

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-06-01T17:52:24
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-06-01 17:52:24 +00:00
parent f100388a78
commit d1d720b22b
5 changed files with 11 additions and 10 deletions
+4 -6
View File
@@ -153,7 +153,7 @@
return destURL;
}
- (WOResponse *) deleteFolderAction
- (WOResponse *) deleteAction
{
SOGoMailFolder *co, *inbox;
WOResponse *response;
@@ -164,13 +164,11 @@
co = [self clientObject];
connection = [co imap4Connection];
srcURL = [co imap4URL];
destURL = [self _trashedURLOfFolder: srcURL
withCO: co];
destURL = [self _trashedURLOfFolder: srcURL withCO: co];
connection = [co imap4Connection];
inbox = [[co mailAccountFolder] inboxFolderInContext: context];
[[connection client] select: [inbox absoluteImap4Name]];
error = [connection moveMailboxAtURL: srcURL
toURL: destURL];
error = [connection moveMailboxAtURL: srcURL toURL: destURL];
if (error)
{
response = [self responseWithStatus: 500];
@@ -182,7 +180,7 @@
return response;
}
- (WOResponse *) deleteMessagesAction
- (WOResponse *) batchDeleteAction
{
SOGoMailFolder *co;
WOResponse *response;