mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-13 17:28:52 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user