From 1e6973307c600fba08dfb76416e5cb0a5a5b7190 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 1 Mar 2021 10:23:44 +0300 Subject: [PATCH] we don't need to initialize urlhelper properties --- include/functions.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/functions.php b/include/functions.php index 92db41ad8..68a1a1809 100644 --- a/include/functions.php +++ b/include/functions.php @@ -4,13 +4,6 @@ define('LABEL_BASE_INDEX', -1024); define('PLUGIN_FEED_BASE_INDEX', -128); - UrlHelper::$fetch_last_error = false; - UrlHelper::$fetch_last_error_code = false; - UrlHelper::$fetch_last_content_type = false; - UrlHelper::$fetch_last_error_content = false; // curl only for the time being - UrlHelper::$fetch_effective_url = false; - UrlHelper::$fetch_curl_used = false; - if (version_compare(PHP_VERSION, '8.0.0', '<')) { libxml_disable_entity_loader(true); }