summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorscherma <github@hexistentialist.com>2017-01-04 11:24:38 +0000
committerGitHub <noreply@github.com>2017-01-04 11:24:38 +0000
commitc6aca57dcfa8d1f5d19c1c50a1ef8fec3e2aba1f (patch)
tree0d79b1b56a37d7bb0692539378e1a34bf1abe584 /src
parent4034876f859528df937d46dae5cffcb3b057a12c (diff)
downloadpfsense-c6aca57dcfa8d1f5d19c1c50a1ef8fec3e2aba1f.zip
pfsense-c6aca57dcfa8d1f5d19c1c50a1ef8fec3e2aba1f.tar.gz
Remove duplicated if block
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/system_usermanager_settings.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/usr/local/www/system_usermanager_settings.php b/src/usr/local/www/system_usermanager_settings.php
index 08be2a4..865e496 100644
--- a/src/usr/local/www/system_usermanager_settings.php
+++ b/src/usr/local/www/system_usermanager_settings.php
@@ -152,12 +152,6 @@ if ($_POST) {
unset($config['system']['webgui']['auth_refresh_time']);
}
- if (isset($_POST['auth_refresh_time']) && $_POST['auth_refresh_time'] != "") {
- $config['system']['webgui']['auth_refresh_time'] = intval($_POST['auth_refresh_time']);
- } else {
- unset($config['system']['webgui']['auth_refresh_time']);
- }
-
write_config();
}
OpenPOWER on IntegriCloud