From 6ad1a55df527474c8c52475a3f3a2800b8f68251 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 21 Nov 2007 18:57:45 +0000 Subject: [PATCH] Monotone-Parent: ddd5665cdecc3c1a1ce97322dd14c8723477bfa5 Monotone-Revision: 90f26599c1d1dea2ba798615fd3a3e18223163e7 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-21T18:57:45 Monotone-Branch: ca.inverse.sogo --- UI/Common/UIxAclEditor.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/UI/Common/UIxAclEditor.m b/UI/Common/UIxAclEditor.m index a3226e517..7d7936c4a 100644 --- a/UI/Common/UIxAclEditor.m +++ b/UI/Common/UIxAclEditor.m @@ -189,17 +189,17 @@ - (BOOL) currentUserIsOwner { SOGoObject *clientObject; - SOGoUser *currentUser; + SOGoUser *user; NSString *currentUserLogin, *ownerLogin; - + clientObject = [self clientObject]; ownerLogin = [clientObject ownerInContext: context]; - currentUser = [context activeUser]; - currentUserLogin = [currentUser login]; + user = [context activeUser]; + currentUserLogin = [user login]; return ([ownerLogin isEqualToString: currentUserLogin] - || ([currentUser respondsToSelector: @selector (isSuperUser)] - && [currentUser isSuperUser])); + || ([user respondsToSelector: @selector (isSuperUser)] + && [user isSuperUser])); } // - (id ) addUserInAcls