Monotone-Parent: 502f48b359438710d34edd2abd4ba70a14b2865a

Monotone-Revision: 970df33571464dbba1559ddd5794abaa1dd248c4

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-08-17T02:20:38
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-08-17 02:20:38 +00:00
parent 6deea672b7
commit 764f37acb5
2 changed files with 3 additions and 24 deletions

View File

@@ -1,5 +1,8 @@
2007-08-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailerUI/UIxMailListView.m ([-expungeAction]): removed
method, moved into the new UIxMailActions module class.
* SoObjects/Mailer/SOGoDraftsFolder.m ([SOGoDraftsFolder
-newDraft]): new method that returns a new SOGoDraftObject
instance with a unique filename based on the current timestamp and

View File

@@ -567,30 +567,6 @@ static int attachmentFlagSize = 8096;
return [self redirectToLocation:@"view"];
}
- (id) expungeAction
{
// TODO: we might want to flush the caches?
NSException *error;
id clientObject;
clientObject = [self clientObject];
if (clientObject)
{
error = [clientObject expunge];
if (!error)
{
if ([clientObject respondsToSelector: @selector(flushMailCaches)])
[clientObject flushMailCaches];
return [self redirectToLocation:@"view"];
}
}
else
error = [NSException exceptionWithHTTPStatus:404 /* Not Found */
reason: @"did not find mail folder"];
return error;
}
@end
/* UIxMailListView */