mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:10:12 +00: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
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue