]> git.mxchange.org Git - friendica.git/commitdiff
Another unneeded callstack call is removed
authorMichael <heluecht@pirati.ca>
Wed, 18 Oct 2023 20:21:02 +0000 (20:21 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 18 Oct 2023 20:21:02 +0000 (20:21 +0000)
src/Core/System.php

index 9e820dde5fb04cac1f922aa557153216aa00f510..8869cebbef735b7a9aeea0ea851d71763cc30c9a 100644 (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);
                }