From 98a905a4c25f1b77d8d26aa6f1874334aabb794e Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 16 Sep 2020 05:05:15 +0000 Subject: [PATCH] Remove unneeded function --- src/Network/HTTPRequest.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Network/HTTPRequest.php b/src/Network/HTTPRequest.php index a615564763..e4ff041039 100644 --- a/src/Network/HTTPRequest.php +++ b/src/Network/HTTPRequest.php @@ -475,14 +475,4 @@ class HTTPRequest implements IHTTPRequest DB_UPDATE_VERSION . '; ' . $this->baseUrl; } - - private function redirectBlocked(string $url = null) - { - $hosts = $this->config->get('system', 'no_redirect_hosts'); - if (empty($hosts)) { - return false; - } - - $hostlist = explode(',', $hosts); - } }