]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Thread.php
Renaming functions + moving functions from security to Model/Item and BaseModule...
[friendica.git] / src / Object / Thread.php
index 89ccc566ef49e86a96c2e2bc4d539a0ac5d2008f..08c04f546f3b6f93973073e100061b8ee000456d 100644 (file)
@@ -62,11 +62,11 @@ class Thread extends BaseObject
                                break;
                        case 'profile':
                                $this->profile_owner = $a->profile['profile_uid'];
-                               $this->writable = Security::can_write_wall($this->profile_owner);
+                               $this->writable = Security::canWriteToUserWall($this->profile_owner);
                                break;
                        case 'display':
                                $this->profile_owner = $a->profile['uid'];
-                               $this->writable = Security::can_write_wall($this->profile_owner) || $writable;
+                               $this->writable = Security::canWriteToUserWall($this->profile_owner) || $writable;
                                break;
                        case 'community':
                                $this->profile_owner = 0;