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_usermanager_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_usermanager_addprivs.php')
-rw-r--r-- | src/usr/local/www/system_usermanager_addprivs.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/usr/local/www/system_usermanager_addprivs.php b/src/usr/local/www/system_usermanager_addprivs.php index d649cff..8babcd5 100644 --- a/src/usr/local/www/system_usermanager_addprivs.php +++ b/src/usr/local/www/system_usermanager_addprivs.php @@ -85,8 +85,7 @@ if ($_POST) { $a_user['priv'] = sort_user_privs($a_user['priv']); local_user_set($a_user); - $retval = write_config(); - $savemsg = get_std_save_message($retval); + write_config(); post_redirect("system_usermanager.php", array('act' => 'edit', 'userid' => $userid)); @@ -125,21 +124,12 @@ function get_root_priv_item_text() { return($priv_text); } -/* if ajax is calling, give them an update message */ -if (isAjax()) { - print_info_box($savemsg, 'success'); -} - include("head.inc"); if ($input_errors) { print_input_errors($input_errors); } -if ($savemsg) { - print_info_box($savemsg, 'success'); -} - $tab_array = array(); $tab_array[] = array(gettext("Users"), true, "system_usermanager.php"); $tab_array[] = array(gettext("Groups"), false, "system_groupmanager.php"); |