mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-23 15:12:44 +00:00
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:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user