Remove unused calls of DI::app()

This commit is contained in:
Art4 2024-11-21 10:12:27 +00:00
parent 4f1a4c4c8a
commit 702abb2830
5 changed files with 2 additions and 10 deletions

View file

@ -27,7 +27,6 @@ class Directory extends BaseModule
{
protected function content(array $request = []): string
{
$app = DI::app();
$config = DI::config();
if (($config->get('system', 'block_public') && !DI::userSession()->isAuthenticated()) ||