mirror of
https://github.com/friendica/friendica
synced 2025-04-23 20:30:10 +00:00
Simplified code
This commit is contained in:
parent
4ad3cc2cc1
commit
68b9a9796c
2 changed files with 1 additions and 5 deletions
|
@ -88,9 +88,6 @@ class Thread
|
|||
$this->writable = Security::canWriteToUserWall($this->profile_owner) || $writable;
|
||||
break;
|
||||
case Conversation::MODE_CHANNEL:
|
||||
$this->profile_owner = 0;
|
||||
$this->writable = $writable;
|
||||
break;
|
||||
case Conversation::MODE_COMMUNITY:
|
||||
$this->profile_owner = 0;
|
||||
$this->writable = $writable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue