summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_usermanager_addprivs.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-12 15:49:43 -0300
committerRenato Botelho <renato@netgate.com>2016-10-12 16:23:14 -0300
commit1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd (patch)
treeaba47ff46f335961f91cae4ba2e228e49209b310 /src/usr/local/www/system_usermanager_addprivs.php
parenteec44c64709c6e9dfc86f734476e547c3c2f67e8 (diff)
downloadpfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.zip
pfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.tar.gz
Remove all calls to conf_mount_r* functions
Diffstat (limited to 'src/usr/local/www/system_usermanager_addprivs.php')
-rw-r--r--src/usr/local/www/system_usermanager_addprivs.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/usr/local/www/system_usermanager_addprivs.php b/src/usr/local/www/system_usermanager_addprivs.php
index 96a3225..ee6d416 100644
--- a/src/usr/local/www/system_usermanager_addprivs.php
+++ b/src/usr/local/www/system_usermanager_addprivs.php
@@ -60,7 +60,6 @@ uasort($spriv_list, "admusercmp");
if ($_POST) {
- conf_mount_rw();
unset($input_errors);
$pconfig = $_POST;
@@ -87,14 +86,12 @@ if ($_POST) {
local_user_set($a_user);
$retval = write_config();
$savemsg = get_std_save_message($retval);
- conf_mount_ro();
post_redirect("system_usermanager.php", array('act' => 'edit', 'userid' => $userid));
exit;
}
- conf_mount_ro();
}
function build_priv_list() {
OpenPOWER on IntegriCloud