Dropped old user-settings for ActiveSync

pull/39/head
Ludovic Marcotte 2014-05-15 14:32:46 -04:00
parent 1a1543a380
commit c8860dc92b
2 changed files with 2 additions and 33 deletions

View File

@ -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 */

View File

@ -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