Monotone-Parent: 0cbd4a9c5bf491a238af8827cc1200efcd8577d6

Monotone-Revision: ea749e8a379c178fc2744bc5cee6af5d1d20640d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-05-03T18:39:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-05-03 18:39:03 +00:00
parent 2a274be95e
commit 4d5c8b8ca2
2 changed files with 15 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
2007-05-03 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoUser.m ([SOGoUser -systemEmail]): new method
forwared to [AgenorUserManager getSystemEmailForUID:].
* UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor
-toolbar]): method replacing the one with the same name in the
task and appointment editor classes. This method makes also use of

View File

@@ -102,7 +102,7 @@ static NSTimeZone *serverTimeZone = nil;
- (NSString *) email
{
if (email == nil)
if (!email)
{
email = [[self userManager] getEmailForUID: [self login]];
[email retain];
@@ -111,6 +111,17 @@ static NSTimeZone *serverTimeZone = nil;
return email;
}
- (NSString *) systemEmail
{
if (!systemEmail)
{
systemEmail = [[self userManager] getSystemEmailForUID: [self login]];
[systemEmail retain];
}
return systemEmail;
}
- (NSString *) cn
{
if (cn == nil)