override comment policy until it's working
This commit is contained in:
parent
28cd8594a7
commit
82539ba2bc
@ -45,6 +45,10 @@ class Item extends BaseObject {
|
|||||||
|
|
||||||
if(($this->observer) && (! $this->writable)) {
|
if(($this->observer) && (! $this->writable)) {
|
||||||
$this->commentable = can_comment_on_post($this->observer['xchan_hash'],$data);
|
$this->commentable = can_comment_on_post($this->observer['xchan_hash'],$data);
|
||||||
|
if(! $this->commentable) {
|
||||||
|
logger('commentable: ' . $data['comment_policy']);
|
||||||
|
$this->commentable = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// logger('writable: ' . $this->writable);
|
// logger('writable: ' . $this->writable);
|
||||||
|
Reference in New Issue
Block a user