in file : /core/includes/file.inc
the following is the changes,
diff --git a/core/includes/file.inc b/core/includes/file.inc
index bde51ee..b9c217b 100644
--- a/core/includes/file.inc
+++ b/core/includes/file.inc
@@ -266,7 +266,6 @@ function file_url_transform_relative($file_url) {
// Unfortunately, we pretty much have to duplicate Symfony's
// Request::getHttpHost() method because Request::getPort() may return NULL
// instead of a port number.
- $http_host = '';
$request = \Drupal::request();
$host = $request->getHost();
$scheme = $request->getScheme();
Looks, this is unused for me, because the initialization of the variable is not required and it is immediately getting replaced anyway.
Comments
Comment #2
rakesh.gectcrComment #3
cilefen commentedComment #4
alexpottCommitted 5777816 and pushed to 8.0.x. Thanks!