mirror of
https://github.com/friendica/friendica
synced 2025-04-22 03:10:10 +00:00
Using getter/setter functions
This commit is contained in:
parent
b4aa796e75
commit
8f46064430
14 changed files with 55 additions and 34 deletions
|
@ -79,11 +79,11 @@ class Thread
|
|||
$this->writable = true;
|
||||
break;
|
||||
case 'profile':
|
||||
$this->profile_owner = $a->profile_owner;
|
||||
$this->profile_owner = $a->getProfileOwner();
|
||||
$this->writable = Security::canWriteToUserWall($this->profile_owner);
|
||||
break;
|
||||
case 'display':
|
||||
$this->profile_owner = $a->profile_owner;
|
||||
$this->profile_owner = $a->getProfileOwner();
|
||||
$this->writable = Security::canWriteToUserWall($this->profile_owner) || $writable;
|
||||
break;
|
||||
case 'community':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue