diff options
author | Renato Botelho <renato@netgate.com> | 2016-10-12 15:49:43 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-10-12 16:23:14 -0300 |
commit | 1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd (patch) | |
tree | aba47ff46f335961f91cae4ba2e228e49209b310 /src/usr/local/www/diag_confbak.php | |
parent | eec44c64709c6e9dfc86f734476e547c3c2f67e8 (diff) | |
download | pfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.zip pfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.tar.gz |
Remove all calls to conf_mount_r* functions
Diffstat (limited to 'src/usr/local/www/diag_confbak.php')
-rw-r--r-- | src/usr/local/www/diag_confbak.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_confbak.php b/src/usr/local/www/diag_confbak.php index d97ca17..390f295 100644 --- a/src/usr/local/www/diag_confbak.php +++ b/src/usr/local/www/diag_confbak.php @@ -44,7 +44,6 @@ if (isset($_POST['backupcount'])) { return; } - conf_mount_rw(); $confvers = unserialize(file_get_contents($g['cf_conf_path'] . '/backup/backup.cache')); if ($_GET['newver'] != "") { @@ -58,7 +57,6 @@ if (isset($_POST['backupcount'])) { unlink_if_exists($g['conf_path'] . '/backup/config-' . $_GET['rmver'] . '.xml'); $savemsg = sprintf(gettext('Deleted backup with timestamp %1$s and description "%2$s".'), date(gettext("n/j/y H:i:s"), $_GET['rmver']), htmlspecialchars($confvers[$_GET['rmver']]['description'])); } - conf_mount_ro(); } if ($_GET['getcfg'] != "") { |