Merge branch 'develop' into phpstan-level-1

This commit is contained in:
Art4 2024-11-18 21:45:42 +00:00
commit c79f3cde22
150 changed files with 2429 additions and 1781 deletions

View file

@ -57,7 +57,7 @@ class Thread
return;
}
$a = DI::app();
$appHelper = DI::appHelper();
switch ($mode) {
case Conversation::MODE_NETWORK:
@ -67,7 +67,7 @@ class Thread
break;
case Conversation::MODE_PROFILE:
case Conversation::MODE_DISPLAY:
$this->profile_owner = $a->getProfileOwner();
$this->profile_owner = $appHelper->getProfileOwner();
$this->writable = Security::canWriteToUserWall($this->profile_owner) || $writable;
break;
case Conversation::MODE_CHANNEL: