From a66c7889c7f98ae7d8671bb27ea40e488c9e4894 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 14 Sep 2015 18:22:45 +0200 Subject: [PATCH] users: the infamous all group kicks the proverbial bucket The all group was previously removed from the root account due to the fact that it won't be applied to new user accounts anymore. This isn't bad as far as we've seen so we went a bit further, removing the group altogether. Nice side effect is that a lot of conditional code just disappears, so I doubt anyone will have any hard feelings later. --- src/etc/config.xml.sample | 6 ------ src/www/system_groupmanager.php | 8 +------- src/www/system_usermanager.php | 8 -------- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/src/etc/config.xml.sample b/src/etc/config.xml.sample index 8bee6fe52..80da3fddb 100644 --- a/src/etc/config.xml.sample +++ b/src/etc/config.xml.sample @@ -192,12 +192,6 @@ localdomain - - all - - system - 1998 - admins diff --git a/src/www/system_groupmanager.php b/src/www/system_groupmanager.php index 36bad5b97..05785412e 100644 --- a/src/www/system_groupmanager.php +++ b/src/www/system_groupmanager.php @@ -140,8 +140,7 @@ if (isset($_POST['save'])) { if (empty($_POST['members'])) { unset($group['member']); - } elseif ($group['gid'] != 1998) { - // all group + } else { $group['member'] = $_POST['members']; } @@ -301,10 +300,6 @@ function presubmit() { - @@ -375,7 +370,6 @@ function presubmit() { diff --git a/src/www/system_usermanager.php b/src/www/system_usermanager.php index 357d86d9d..124f96a77 100644 --- a/src/www/system_usermanager.php +++ b/src/www/system_usermanager.php @@ -606,10 +606,6 @@ function import_ldap_users() {