diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-11 07:24:39 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 07:24:39 +0545 |
commit | 753280bb6c75fb3aa5a1fcc2ef65640faa78340d (patch) | |
tree | 3e3abc677eabc41bb8f99c3d3c2b16b5cf76ee74 /src/usr/local/www/system_groupmanager_addprivs.php | |
parent | 9187d6f7ea47bd44a9f4908f916c507419986c52 (diff) | |
parent | 6a9a75958c21ab3011ea6d52c00d5e370c08cf89 (diff) | |
download | pfsense-753280bb6c75fb3aa5a1fcc2ef65640faa78340d.zip pfsense-753280bb6c75fb3aa5a1fcc2ef65640faa78340d.tar.gz |
Merge branch 'master' into sysprvwarn2
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 69ffadc..c165078 100644 --- a/src/usr/local/www/system_groupmanager_addprivs.php +++ b/src/usr/local/www/system_groupmanager_addprivs.php @@ -89,19 +89,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; @@ -138,10 +132,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"); |