summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_groupmanager_addprivs.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-01-11 07:24:39 +0545
committerGitHub <noreply@github.com>2017-01-11 07:24:39 +0545
commit753280bb6c75fb3aa5a1fcc2ef65640faa78340d (patch)
tree3e3abc677eabc41bb8f99c3d3c2b16b5cf76ee74 /src/usr/local/www/system_groupmanager_addprivs.php
parent9187d6f7ea47bd44a9f4908f916c507419986c52 (diff)
parent6a9a75958c21ab3011ea6d52c00d5e370c08cf89 (diff)
downloadpfsense-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.php12
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");
OpenPOWER on IntegriCloud