mirror of
https://github.com/friendica/friendica
synced 2025-04-23 05:50:11 +00:00
Remove unused parameter in can_write_wall()
This commit is contained in:
parent
659d637b5a
commit
722782d553
7 changed files with 12 additions and 13 deletions
|
@ -60,11 +60,11 @@ class Thread extends BaseObject
|
|||
break;
|
||||
case 'profile':
|
||||
$this->profile_owner = $a->profile['profile_uid'];
|
||||
$this->writable = can_write_wall($a, $this->profile_owner);
|
||||
$this->writable = can_write_wall($this->profile_owner);
|
||||
break;
|
||||
case 'display':
|
||||
$this->profile_owner = $a->profile['uid'];
|
||||
$this->writable = can_write_wall($a, $this->profile_owner) || $writable;
|
||||
$this->writable = can_write_wall($this->profile_owner) || $writable;
|
||||
break;
|
||||
case 'community':
|
||||
$this->profile_owner = local_user();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue