]> err.no Git - scalable-opengroupware.org/blobdiff - UI/MailerUI/UIxMailListView.m
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1147 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / MailerUI / UIxMailListView.m
index 41ba101bbc588655e58c9831014509a1c6a08e8b..ae2758675fbcf2660386a2ec542f1ccff2d8c2a5 100644 (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 */