aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/asset.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-30 12:31:26 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-05-09 21:49:57 +0200
commite76c673e2e6a379ae7c4beccabfaaf8a5eb18371 (patch)
treeb3feec1b8b70a6ce445f348aab4cdbf70a211a5b /phpBB/phpbb/template/asset.php
parentebac54aa9e705e99a562d2fe2c0f57bc6af8dd32 (diff)
downloadforums-e76c673e2e6a379ae7c4beccabfaaf8a5eb18371.tar
forums-e76c673e2e6a379ae7c4beccabfaaf8a5eb18371.tar.gz
forums-e76c673e2e6a379ae7c4beccabfaaf8a5eb18371.tar.bz2
forums-e76c673e2e6a379ae7c4beccabfaaf8a5eb18371.tar.xz
forums-e76c673e2e6a379ae7c4beccabfaaf8a5eb18371.zip
[ticket/14948] Update requirements and travis build matrix
PHPBB3-14948
Diffstat (limited to 'phpBB/phpbb/template/asset.php')
-rw-r--r--phpBB/phpbb/template/asset.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/phpBB/phpbb/template/asset.php b/phpBB/phpbb/template/asset.php
index cb00f16549..d6b46234f0 100644
--- a/phpBB/phpbb/template/asset.php
+++ b/phpBB/phpbb/template/asset.php
@@ -45,13 +45,6 @@ class asset
*/
public function set_url($url)
{
- if (version_compare(PHP_VERSION, '5.4.7') < 0 && substr($url, 0, 2) === '//')
- {
- // Workaround for PHP 5.4.6 and older bug #62844 - add fake scheme and then remove it
- $this->components = parse_url('http:' . $url);
- $this->components['scheme'] = '';
- return;
- }
$this->components = parse_url($url);
}