diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-02-19 08:37:54 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-19 08:38:16 -0500 |
commit | 06683083f76252eb577cf146c33b365d46a3a615 (patch) | |
tree | 6e43f896798b6d05d5c2ae9b7e25891529148704 /src/usr/local/www/system_groupmanager_addprivs.php | |
parent | ada3eeb33cadce1c05b67462c03bb51d6646cba2 (diff) | |
download | pfsense-06683083f76252eb577cf146c33b365d46a3a615.zip pfsense-06683083f76252eb577cf146c33b365d46a3a615.tar.gz |
Fixed #5908
Diffstat (limited to 'src/usr/local/www/system_groupmanager_addprivs.php')
-rw-r--r-- | src/usr/local/www/system_groupmanager_addprivs.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/usr/local/www/system_groupmanager_addprivs.php b/src/usr/local/www/system_groupmanager_addprivs.php index 381a591..5957c92 100644 --- a/src/usr/local/www/system_groupmanager_addprivs.php +++ b/src/usr/local/www/system_groupmanager_addprivs.php @@ -64,20 +64,6 @@ ##|*MATCH=system_groupmanager_addprivs.php* ##|-PRIV -function cpusercmp($a, $b) { - return strcasecmp($a['name'], $b['name']); -} - -function admin_groups_sort() { - global $config; - - if (!is_array($config['system']['group'])) { - return; - } - - usort($config['system']['group'], "cpusercmp"); -} - require("guiconfig.inc"); $pgtitle = array(gettext("System"), gettext("User Manager"), gettext("Groups"), gettext("Edit"), gettext("Add Privileges")); @@ -142,8 +128,6 @@ if ($_POST) { } } - admin_groups_sort(); - $retval = write_config(); $savemsg = get_std_save_message($retval); |