diff --git a/SoObjects/SOGo/SOGoUserSettings.h b/SoObjects/SOGo/SOGoUserSettings.h index 673f148c8..25de5aaea 100644 --- a/SoObjects/SOGo/SOGoUserSettings.h +++ b/SoObjects/SOGo/SOGoUserSettings.h @@ -1,6 +1,6 @@ /* SOGoUserSettings.h - this file is part of SOGo * - * Copyright (C) 2009-2013 Inverse inc. + * Copyright (C) 2009-2014 Inverse inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,13 +34,6 @@ - (NSArray *) subscribedCalendars; - (NSArray *) subscribedAddressBooks; - -/* Microsoft Active Sync support */ -- (void) setMicrosoftActiveSyncMetadata: (NSDictionary *) theMetadata - forDevice: (NSString *) theDeviceID; - -- (NSMutableDictionary *) microsoftActiveSyncMetadataForDevice: (NSString *) theDevice; - @end #endif /* SOGOUSERSETTINGS_H */ diff --git a/SoObjects/SOGo/SOGoUserSettings.m b/SoObjects/SOGo/SOGoUserSettings.m index 107b5d835..cca5f78ac 100644 --- a/SoObjects/SOGo/SOGoUserSettings.m +++ b/SoObjects/SOGo/SOGoUserSettings.m @@ -1,6 +1,6 @@ /* SOGoUserSettings.m - this file is part of SOGo * - * Copyright (C) 2009-2013 Inverse inc. + * Copyright (C) 2009-2014 Inverse inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -69,28 +69,4 @@ static Class SOGoUserProfileKlass = Nil; return [self _subscribedFoldersForModule: @"Contacts"]; } -/* Microsoft Active Sync support */ -- (void) setMicrosoftActiveSyncMetadata: (NSDictionary *) theMetadata - forDevice: (NSString *) theDeviceID -{ - if (theMetadata && theDeviceID) - { - NSMutableDictionary *d; - - d = [NSMutableDictionary dictionaryWithDictionary: [self dictionaryForKey: @"SOGoMicrosoftActiveSyncMetadata"]]; - [d setObject: theMetadata forKey: theDeviceID]; - - [self setObject: d forKey: @"SOGoMicrosoftActiveSyncMetadata"]; - } -} - -- (NSMutableDictionary *) microsoftActiveSyncMetadataForDevice: (NSString *) theDevice -{ - NSDictionary *d; - - d = [self dictionaryForKey: @"SOGoMicrosoftActiveSyncMetadata"]; - - return [NSMutableDictionary dictionaryWithDictionary: [d objectForKey: theDevice]]; -} - @end