summaryrefslogtreecommitdiff
path: root/classes/urlhelper.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-01 13:43:37 +0300
committerAndrew Dolgov <[email protected]>2021-03-01 13:43:37 +0300
commit320503dd3911de93d059ebe1ba8b96004d8f6b03 (patch)
treece44d5c6b8ed3a6cd54d2bb7dda47445f1b2f688 /classes/urlhelper.php
parent20a844085f42975a9e2d20a9cd489a0251d52ad5 (diff)
move version-related stuff to Config; fix conditional feed requests
Diffstat (limited to 'classes/urlhelper.php')
-rw-r--r--classes/urlhelper.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/classes/urlhelper.php b/classes/urlhelper.php
index 020210a53..389298078 100644
--- a/classes/urlhelper.php
+++ b/classes/urlhelper.php
@@ -167,17 +167,6 @@ class UrlHelper {
public static function fetch($options /* previously: 0: $url , 1: $type = false, 2: $login = false, 3: $pass = false,
4: $post_query = false, 5: $timeout = false, 6: $timestamp = 0, 7: $useragent = false*/) {
- /*
- global $fetch_last_error;
- global $fetch_last_error_code;
- global $fetch_last_error_content;
- global $fetch_last_content_type;
- global $fetch_last_modified;
- global $fetch_effective_url;
- global $fetch_effective_ip_addr;
- global $fetch_curl_used;
- */
-
self::$fetch_last_error = false;
self::$fetch_last_error_code = -1;
self::$fetch_last_error_content = "";