diff options
author | doktornotor <notordoktor@gmail.com> | 2017-03-05 17:29:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-05 17:29:28 +0100 |
commit | 9bfb115b797cdb4febb56e2134f2c8f98a2a8bcd (patch) | |
tree | da8a87b14312428b5bc61f811583811cef9c3afe | |
parent | adb1945666136a26d1c69e7b3795160007bf5648 (diff) | |
download | pfsense-9bfb115b797cdb4febb56e2134f2c8f98a2a8bcd.zip pfsense-9bfb115b797cdb4febb56e2134f2c8f98a2a8bcd.tar.gz |
Remove useless config_lock()/config_unlock() calls
-rw-r--r-- | src/usr/local/www/diag_smart.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php index 22f6062..8cf5d45 100644 --- a/src/usr/local/www/diag_smart.php +++ b/src/usr/local/www/diag_smart.php @@ -268,7 +268,6 @@ switch ($action) { $config['system']['smartmonemail'] = $_POST['smartmonemail']; write_config(); $retval = 0; - config_lock(); if (stristr($retval, "error") != true) { $savemsg = get_std_save_message($retval); $style = 'success'; @@ -276,7 +275,6 @@ switch ($action) { $savemsg = $retval; $style='danger'; } - config_unlock(); // Write the changes to the smartd.conf file update_email($_POST['smartmonemail']); // Send sig HUP to smartd, rereads the config file |