]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1268 d1b88da0-ebda-0310...
authorwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 19 Nov 2007 22:57:30 +0000 (22:57 +0000)
committerwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 19 Nov 2007 22:57:30 +0000 (22:57 +0000)
UI/Common/UIxPageFrame.m

index fda77e28bd9986f1d28552c21c72f77c0712d745..47f9433ca098dd4b9975376776c9d0479d422d83 100644 (file)
 
 - (BOOL) isSuperUser
 {
-  return [[context activeUser] isSuperUser];
+  SOGoUser *user;
+
+  user = [context activeUser];
+
+  return ([user respondsToSelector: @selector (isSuperUser)]
+         && [user isSuperUser]);
 }
 
 /* browser/os identification */