summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 6358f48c2..917879810 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -358,9 +358,6 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
Minz_Error::error(403);
}
- $can_enable_email_validation = version_compare(PHP_VERSION, '5.5') >= 0;
- $this->view->can_enable_email_validation = $can_enable_email_validation;
-
if (Minz_Request::isPost()) {
$limits = FreshRSS_Context::$system_conf->limits;
$limits['max_registrations'] = Minz_Request::param('max-registrations', 1);
@@ -370,9 +367,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
FreshRSS_Context::$system_conf->limits = $limits;
FreshRSS_Context::$system_conf->title = Minz_Request::param('instance-name', 'FreshRSS');
FreshRSS_Context::$system_conf->auto_update_url = Minz_Request::param('auto-update-url', false);
- if ($can_enable_email_validation) {
- FreshRSS_Context::$system_conf->force_email_validation = Minz_Request::param('force-email-validation', false);
- }
+ FreshRSS_Context::$system_conf->force_email_validation = Minz_Request::param('force-email-validation', false);
FreshRSS_Context::$system_conf->save();
invalidateHttpCache();