mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-21 22:32:45 +00:00
Monotone-Parent: e9bc6cb46a4431aee9c0112701adef16e8fde065
Monotone-Revision: 7c4177d2b834fedabafddbf55ecc038b138f0f4b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-09T19:01:30 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -30,10 +30,6 @@
|
||||
|
||||
- (NSArray *) getICalPersonsFromValue: (NSString *) selectorValue;
|
||||
|
||||
/* email, cn */
|
||||
- (NSString *) emailForUser;
|
||||
- (NSString *) cnForUser;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* __UIxComponent_Agenor_H_ */
|
||||
@@ -19,11 +19,11 @@
|
||||
02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "UIxComponent+Agenor.h"
|
||||
#include <SOGo/AgenorUserManager.h>
|
||||
#include <SOGo/WOContext+Agenor.h>
|
||||
#include <SOGo/SOGoUser.h>
|
||||
#include "common.h"
|
||||
#import <SoObjects/Appointments/SOGoCalendarComponent.h>
|
||||
#import <SoObjects/SOGo/WOContext+Agenor.h>
|
||||
#import <SoObjects/SOGo/SOGoUser.h>
|
||||
|
||||
#import "UIxComponent+Scheduler.h"
|
||||
|
||||
@implementation UIxComponent(Agenor)
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
NSMutableArray *persons;
|
||||
NSEnumerator *uids;
|
||||
NSString *uid;
|
||||
AgenorUserManager *um;
|
||||
SOGoCalendarComponent *component;
|
||||
|
||||
um = [AgenorUserManager sharedUserManager];
|
||||
component = [self clientObject];
|
||||
|
||||
persons = [NSMutableArray new];
|
||||
[persons autorelease];
|
||||
@@ -46,7 +46,7 @@
|
||||
uid = [uids nextObject];
|
||||
while (uid)
|
||||
{
|
||||
[persons addObject: [um iCalPersonWithUid: uid]];
|
||||
[persons addObject: [component iCalPersonWithUID: uid]];
|
||||
uid = [uids nextObject];
|
||||
}
|
||||
}
|
||||
@@ -54,14 +54,4 @@
|
||||
return persons;
|
||||
}
|
||||
|
||||
- (NSString *) emailForUser
|
||||
{
|
||||
return [[context activeUser] email];
|
||||
}
|
||||
|
||||
- (NSString *) cnForUser
|
||||
{
|
||||
return [[context activeUser] cn];
|
||||
}
|
||||
|
||||
@end /* UIxComponent(Agenor) */
|
||||
Reference in New Issue
Block a user