diff options
author | doktornotor <notordoktor@gmail.com> | 2017-03-05 17:29:28 +0100 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-04-03 14:50:09 -0400 |
commit | b003c8c40875e7a72422281585bb4f6efd80f25c (patch) | |
tree | 13d9787522d8e58ebc67ed4bd551ebd95ffceeb7 | |
parent | 7abb61ef1468840f4a2a3c10adb21b51ae06ee4a (diff) | |
download | pfsense-b003c8c40875e7a72422281585bb4f6efd80f25c.zip pfsense-b003c8c40875e7a72422281585bb4f6efd80f25c.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 fffde5b..75bd8e3 100644 --- a/src/usr/local/www/diag_smart.php +++ b/src/usr/local/www/diag_smart.php @@ -267,7 +267,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'; @@ -275,7 +274,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 |