]> git.mxchange.org Git - friendica.git/commitdiff
Remove unused DI::app() call
authorArt4 <art4@wlabs.de>
Sat, 23 Nov 2024 07:41:34 +0000 (07:41 +0000)
committerArt4 <art4@wlabs.de>
Sat, 23 Nov 2024 07:41:34 +0000 (07:41 +0000)
src/Security/BasicAuth.php

index 5de8e8780ef424b657f9cd9f184b2a74eb5b188b..c5da5b9f720fac6f4cde843284e98a66d0d2f6ab 100644 (file)
@@ -107,7 +107,6 @@ class BasicAuth
         */
        private static function getUserIdByAuth(bool $do_login = true):int
        {
-               $a = DI::app();
                self::$current_user_id = 0;
 
                // workaround for HTTP-auth in CGI mode