mirror of
https://github.com/friendica/friendica
synced 2025-05-06 10:24:10 +02:00
Merge branch 'develop' into phpstan-level-1
This commit is contained in:
commit
c79f3cde22
150 changed files with 2429 additions and 1781 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue