From 6a909b16b28ef0709deea9942ca95830b0ab7324 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 1 Jun 2008 12:26:33 +0200 Subject: [PATCH] Remove hack on auth-groupex to force X.org admins to be group admins. Signed-off-by: Florent Bruneau --- modules/auth/auth.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/auth/auth.inc.php b/modules/auth/auth.inc.php index 5e9746a..1b01a77 100644 --- a/modules/auth/auth.inc.php +++ b/modules/auth/auth.inc.php @@ -62,9 +62,6 @@ function gpex_make($chlg, $privkey, $datafields, $charset) WHERE uid = {?} AND diminutif = {?}", S::v('uid'), $_GET['group']); $perms = $res->fetchOneCell(); - if (Session::has_perms()) { - $perms = 'admin'; - } } else { // if no group asked, return main rights $perms = Session::has_perms()?'admin':'membre'; -- 2.1.4