Merge pull request #13562 from annando/callstack2

Another unneeded callstack call is removed
This commit is contained in:
Hypolite Petovan 2023-10-18 17:57:47 -04:00 committed by GitHub
commit c88b1c0197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ class System
public static function externalRedirect($url, $code = 302)
{
if (empty(parse_url($url, PHP_URL_SCHEME))) {
Logger::warning('No fully qualified URL provided', ['url' => $url, 'callstack' => self::callstack(20)]);
Logger::warning('No fully qualified URL provided', ['url' => $url]);
DI::baseUrl()->redirect($url);
}