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

@ -726,7 +726,7 @@ class Post
$title = DI::l10n()->t('Commented by: %s', $actors);
$icon = ['fa' => 'fa-commenting', 'icon' => 'icon-commenting'];
break;
default:
$title = DI::l10n()->t('Reacted with %s by: %s', $element['emoji'], $actors);
$icon = [];
@ -1180,7 +1180,6 @@ class Post
*/
protected function checkWallToWall()
{
$a = DI::app();
$conv = $this->getThread();
$this->wall_to_wall = false;