]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Thread.php
Remove unused parameter in can_write_wall()
[friendica.git] / src / Object / Thread.php
index a03bae6e9d1da65f3b052293fb0d1090e86f8d72..534095efbb3a745cb9773bca013c7ee310016d6a 100644 (file)
@@ -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();