refactor usage of Friendica\App namespace

This commit is contained in:
Art4 2024-11-11 00:30:58 +00:00
parent 629c4af3c8
commit 20f5a96fe0
29 changed files with 93 additions and 82 deletions

View file

@ -15,7 +15,6 @@ if (php_sapi_name() !== 'cli') {
}
use Dice\Dice;
use Friendica\App;
use Friendica\App\Mode;
use Friendica\Core\Logger\Capability\LogChannel;
use Friendica\Core\Update;
@ -57,7 +56,7 @@ DI::mode()->setExecutor(Mode::WORKER);
Update::check(DI::basePath(), true);
// Quit when in maintenance
if (!DI::mode()->has(App\Mode::MAINTENANCEDISABLED)) {
if (!DI::mode()->has(Mode::MAINTENANCEDISABLED)) {
return;
}