From: Michael Date: Wed, 16 Sep 2020 05:05:15 +0000 (+0000) Subject: Remove unneeded function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=98a905a4c25f1b77d8d26aa6f1874334aabb794e;p=friendica.git Remove unneeded function --- 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); - } }