override comment policy until it's working

This commit is contained in:
friendica 2013-06-16 22:56:56 -07:00
parent 28cd8594a7
commit 82539ba2bc

View File

@ -45,6 +45,10 @@ class Item extends BaseObject {
if(($this->observer) && (! $this->writable)) {
$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);