mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 08:34:27 +02:00
Remove unused calls of DI::app()
This commit is contained in:
parent
4f1a4c4c8a
commit
702abb2830
5 changed files with 2 additions and 10 deletions
|
@ -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()) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue