diff --git a/core/Files/AsynchronousFileReader.php b/core/Files/AsynchronousFileReader.php index 881c3998..41b9bd72 100644 --- a/core/Files/AsynchronousFileReader.php +++ b/core/Files/AsynchronousFileReader.php @@ -58,24 +58,6 @@ class AsynchronousFileReader { } } - - /** - * Create a new cURL Request for the given URL, DO NOT CALL MANUALLY! - * - * @param string $url - * @return Request - */ - public function newRequest($url) { - $request = new Request($url); - $request->getOptions()->set(CURLOPT_TIMEOUT, 60)->set(CURLOPT_HEADER, false)// don't display response header - ->set(CURLOPT_CRLF, true)// linux line feed - ->set(CURLOPT_ENCODING, '')// accept encoding - ->set(CURLOPT_USERAGENT, 'ManiaControl v' . ManiaControl::VERSION)// user-agent - ->set(CURLOPT_RETURNTRANSFER, true); // return instead of output content - return $request; - } - - /** * Load a Remote File *