]> git.mxchange.org Git - friendica.git/commitdiff
remove unnecessary Di::app() all
authorArt4 <art4@wlabs.de>
Wed, 18 Dec 2024 19:57:00 +0000 (19:57 +0000)
committerArt4 <art4@wlabs.de>
Wed, 18 Dec 2024 19:57:00 +0000 (19:57 +0000)
tests/ApiTestCase.php

index a9c04249c2cb688856d412abcd3cfd0d01ae6192..bcf916abedd968bfb07b488d309cfe6c2c483dab 100644 (file)
@@ -188,7 +188,7 @@ abstract class ApiTestCase extends FixtureTestCase
                @include_once($addon_file_path);
                if (function_exists($addon . '_install')) {
                        $func = $addon . '_install';
-                       $func(DI::app());
+                       $func();
                }
 
                /** @var $config IManageConfigValues */