From b00bcf196920fb7672c38bf9004723a035af8cbb Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 27 Oct 2009 13:14:38 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 11583101e1da18860a0ec72e4d7a5c096cb0b7c3 Monotone-Revision: cb47401127bc90adde66734592f99174a37c6e8b Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-10-27T13:14:38 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 10 ++++++++++ SoObjects/SOGo/SOGoGCSFolder.m | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c33e549c1..acdb2c904 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-10-27 Ludovic Marcotte + + * SoObjects/SOGo/SOGoGCSFolder.m (create) + We send the advisory to the owner of the newly + created collection, not the currently logged on + user (which might be different). The sender will + nevertheless be the currently logged on user, as + it's this particular user that triggered the + creation of the collection. + 2009-10-26 Francis Lachapelle * UI/WebServerResources/ContactsUI.js diff --git a/SoObjects/SOGo/SOGoGCSFolder.m b/SoObjects/SOGo/SOGoGCSFolder.m index b773d13c8..4b08cca77 100644 --- a/SoObjects/SOGo/SOGoGCSFolder.m +++ b/SoObjects/SOGo/SOGoGCSFolder.m @@ -392,7 +392,7 @@ static NSArray *childRecordFields = nil; if (sendFolderAdvisories) { - user = [context activeUser]; + user = [SOGoUser userWithLogin: [self ownerInContext: context]]; pageName = [NSString stringWithFormat: @"SOGoFolder%@%@Advisory", [user language], template];