diff options
author | Renato Botelho <renato@netgate.com> | 2017-01-10 18:27:15 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-10 18:27:15 -0200 |
commit | 6a9a75958c21ab3011ea6d52c00d5e370c08cf89 (patch) | |
tree | 50dc713c40bd7e0deb7b0386c46f6863223ae725 /src/usr/local/www/system_groupmanager_addprivs.php | |
parent | a271ed3d5eff8595a558af802f883c47a7dab884 (diff) | |
parent | 3cb0c7c312d4c17cb75e8ce9fff3a28c706d76a5 (diff) | |
download | pfsense-6a9a75958c21ab3011ea6d52c00d5e370c08cf89.zip pfsense-6a9a75958c21ab3011ea6d52c00d5e370c08cf89.tar.gz |
Merge pull request #3343 from phil-davis/retval1
Diffstat (limited to 'src/usr/local/www/system_groupmanager_addprivs.php')
-rw-r--r-- | src/usr/local/www/system_groupmanager_addprivs.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/usr/local/www/system_groupmanager_addprivs.php b/src/usr/local/www/system_groupmanager_addprivs.php index ad07c1c..5c25e59 100644 --- a/src/usr/local/www/system_groupmanager_addprivs.php +++ b/src/usr/local/www/system_groupmanager_addprivs.php @@ -88,19 +88,13 @@ if ($_POST) { } } - $retval = write_config(); - $savemsg = get_std_save_message($retval); + write_config(); pfSenseHeader("system_groupmanager.php?act=edit&groupid={$groupid}"); exit; } } -/* if ajax is calling, give them an update message */ -if (isAjax()) { - print_info_box($savemsg, 'success'); -} - function build_priv_list() { global $spriv_list, $a_group; @@ -123,10 +117,6 @@ if ($input_errors) { print_input_errors($input_errors); } -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $tab_array = array(); $tab_array[] = array(gettext("Users"), false, "system_usermanager.php"); $tab_array[] = array(gettext("Groups"), true, "system_groupmanager.php"); |