diff options
| author | 2016-08-14 19:55:27 +0200 | |
|---|---|---|
| committer | 2016-08-14 19:55:27 +0200 | |
| commit | dd7d5855e3aedfca2ca216049afd3a1aaa23733b (patch) | |
| tree | 8b80c7f67d0290f666f3a5c6f70b025d283d46a1 /app/Models/ConfigurationSetter.php | |
| parent | 722c0cb8b255e700282e080fde4aec241e7ccfa3 (diff) | |
Remove code for PHP 5.3.2-
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 e472b1e7f..79bd0170b 100644 --- a/app/Models/ConfigurationSetter.php +++ b/app/Models/ConfigurationSetter.php @@ -129,12 +129,7 @@ class FreshRSS_ConfigurationSetter { // Verify URL and add default value when needed if (isset($value['url'])) { - $is_url = ( - filter_var($value['url'], FILTER_VALIDATE_URL) || - (version_compare(PHP_VERSION, '5.3.3', '<') && - (strpos($value, '-') > 0) && - ($value === filter_var($value, FILTER_SANITIZE_URL))) - ); //PHP bug #51192 + $is_url = filter_var($value['url'], FILTER_VALIDATE_URL); if (!$is_url) { continue; } |
