Monotone-Parent: 75884864019e8268f2d2a24b534d0020370d2de5

Monotone-Revision: 73c003158a06a65893a6deafa03df694aa0178b6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-06-04T21:14:17
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-06-04 21:14:17 +00:00
parent 00ffd36ca6
commit 85cfae601f
2 changed files with 16 additions and 9 deletions

View File

@@ -1,5 +1,9 @@
2010-06-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Common/UIxUserRightsEditor.m
(-sendACLAdvisoryTemplateForObject:): don't attempt to send a notification
email to the "anonymous" or the default user.
* SoObjects/Appointments/SOGoAppointmentFolderXML.[hm]: same as
below for XML.

View File

@@ -149,16 +149,19 @@
SOGoACLAdvisory *page;
WOApplication *app;
ud = [[SOGoUser userWithLogin: uid roles: nil] userDefaults];
language = [ud language];
pageName = [NSString stringWithFormat: @"SOGoACL%@ModificationAdvisory",
language];
if (!([self userIsDefaultUser] || [self userIsAnonymousUser]))
{
ud = [[SOGoUser userWithLogin: uid roles: nil] userDefaults];
language = [ud language];
pageName = [NSString stringWithFormat: @"SOGoACL%@ModificationAdvisory",
language];
app = [WOApplication application];
page = [app pageWithName: pageName inContext: context];
[page setACLObject: theObject];
[page setRecipientUID: uid];
[page send];
app = [WOApplication application];
page = [app pageWithName: pageName inContext: context];
[page setACLObject: theObject];
[page setRecipientUID: uid];
[page send];
}
}
- (id <WOActionResults>) saveUserRightsAction