From 1add40c6ff04bfe8e83a173d4c5fc73f7a7077c9 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 23 Dec 2009 18:32:42 +0000 Subject: [PATCH] Monotone-Parent: 06d8a080e505b11bad76b3afa0c1ffa5aa02bc23 Monotone-Revision: 3823bd3cc970f67d1d304545984ce01cc2c32ac6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-12-23T18:32:42 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 10 ++++++++-- SoObjects/Mailer/SOGoMailAccount.h | 5 ----- SoObjects/Mailer/SOGoMailAccount.m | 21 --------------------- 3 files changed, 8 insertions(+), 28 deletions(-) diff --git a/ChangeLog b/ChangeLog index 42a4cbb8d..3aa54569e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-12-23 Wolfgang Sourdeau + + * SoObjects/Mailer/SOGoMailAccount.m (-isSharedAccount): removed + useless method. + (-sharedAccountName): removed useless method. + 2009-12-22 Ludovic Marcotte * Removed all the Kolab-related stuff (more specifically, @@ -5,13 +11,13 @@ * Removed all references to "anais" stuff. - * SoObjects/Mailer/SOGoMailFoder.m (-deleteUIDs:inContext:): + * SoObjects/Mailer/SOGoMailFolder.m (-deleteUIDs:inContext:): we check if we aren't in the Trash folder already before try to copy over deleted messages. * We now offer a way to delete events from the context menu in all calendar views. - + 2009-12-22 Francis Lachapelle * UI/Scheduler/UIxAppointmentEditor.m (-viewAction): added diff --git a/SoObjects/Mailer/SOGoMailAccount.h b/SoObjects/Mailer/SOGoMailAccount.h index b6112eb3a..edebb4b59 100644 --- a/SoObjects/Mailer/SOGoMailAccount.h +++ b/SoObjects/Mailer/SOGoMailAccount.h @@ -70,11 +70,6 @@ typedef enum { - (NSArray *) allFolderPaths; - (BOOL) isInDraftsFolder; -/* shared accounts */ - -- (BOOL) isSharedAccount; -- (NSString *) sharedAccountName; - /* special folders */ - (NSString *) inboxFolderNameInContext: (id)_ctx; diff --git a/SoObjects/Mailer/SOGoMailAccount.m b/SoObjects/Mailer/SOGoMailAccount.m index b27d24598..d46b2316b 100644 --- a/SoObjects/Mailer/SOGoMailAccount.m +++ b/SoObjects/Mailer/SOGoMailAccount.m @@ -87,27 +87,6 @@ static NSString *sieveScriptName = @"sogo"; ASSIGN (accountName, newAccountName); } -/* shared accounts */ - -- (BOOL) isSharedAccount -{ - NSString *s; - NSRange r; - - s = accountName; - r = [s rangeOfString:@"@"]; - if (r.length == 0) /* regular HTTP logins are never a shared mailbox */ - return NO; - - s = [s substringToIndex:r.location]; - return [s rangeOfString:@".-."].length > 0 ? YES : NO; -} - -- (NSString *) sharedAccountName -{ - return nil; -} - /* listing the available folders */ - (BOOL) isInDraftsFolder