From: Florent Bruneau Date: Sun, 1 Jun 2008 10:26:33 +0000 (+0200) Subject: Remove hack on auth-groupex to force X.org admins to be group admins. X-Git-Tag: xorg/0.9.16~2 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6a909b16b28ef0709deea9942ca95830b0ab7324;p=platal.git Remove hack on auth-groupex to force X.org admins to be group admins. Signed-off-by: Florent Bruneau --- 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';