summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-28 10:12:57 +0300
committerAndrew Dolgov <[email protected]>2021-02-28 10:12:57 +0300
commitafc7142250dc02654a53a7222abe88df964d58f4 (patch)
tree9c31e51cb00fc8bff550995517acbf19b55b0607 /include/functions.php
parente2cbb54b2c8f5666a9eabcbf80fb6a3e4d0676a3 (diff)
move all $fetch globals to UrlHelper
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/functions.php b/include/functions.php
index 2db553d9d..d4505ac24 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -4,12 +4,12 @@
define('LABEL_BASE_INDEX', -1024);
define('PLUGIN_FEED_BASE_INDEX', -128);
- $fetch_last_error = false;
- $fetch_last_error_code = false;
- $fetch_last_content_type = false;
- $fetch_last_error_content = false; // curl only for the time being
- $fetch_effective_url = false;
- $fetch_curl_used = false;
+ 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);