Merge pull request #10291 from creative-commoners/pulls/4/revert

FIX Revert adding extension hook
This commit is contained in:
Guy Sartorelli 2022-04-26 12:00:26 +12:00 committed by GitHub
commit 2411a83d5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -470,7 +470,6 @@ class Director implements TemplateGlobalProvider
// Default to respecting site base_url
$parent = self::absoluteBaseURL();
}
static::singleton()->extend('updateAbsoluteURLParent', $parent);
// Map empty urls to relative slash and join to base
if (empty($url) || $url === '.' || $url === './') {