Another unneeded callstack call is removed

This commit is contained in:
Michael 2023-10-18 20:21:02 +00:00
parent f56054ecc1
commit 004e87c986

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);
}