mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user