diff options
| author | 2016-08-14 10:05:38 +0200 | |
|---|---|---|
| committer | 2016-08-14 10:05:38 +0200 | |
| commit | b90f815e2592a4ed498c93b343b8ed5b4186730a (patch) | |
| tree | 84288fcac53f094dd9147dd45ee3ceee6308ede1 /app/Models/ConfigurationSetter.php | |
| parent | 462c1e208f02e4977c7e96c0f5936987931d5bc1 (diff) | |
| parent | a180485f9146f22d48470f3ba541317dbc2ee076 (diff) | |
Merge branch 'FreshRSS/dev' into SuperFeeder_timeout
Diffstat (limited to 'app/Models/ConfigurationSetter.php')
| -rw-r--r-- | app/Models/ConfigurationSetter.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php index 250c14c39..e472b1e7f 100644 --- a/app/Models/ConfigurationSetter.php +++ b/app/Models/ConfigurationSetter.php @@ -95,11 +95,6 @@ class FreshRSS_ConfigurationSetter { $data['language'] = $value; } - private function _mail_login(&$data, $value) { - $value = filter_var($value, FILTER_VALIDATE_EMAIL); - $data['mail_login'] = $value ? $value : ''; - } - private function _old_entries(&$data, $value) { $value = intval($value); $data['old_entries'] = $value > 0 ? $value : 3; @@ -278,7 +273,7 @@ class FreshRSS_ConfigurationSetter { private function _auth_type(&$data, $value) { $value = strtolower($value); - if (!in_array($value, array('form', 'http_auth', 'persona', 'none'))) { + if (!in_array($value, array('form', 'http_auth', 'none'))) { $value = 'none'; } $data['auth_type'] = $value; |
