undo comment policy override - there are a handful of stored posts from the 17th-June with a broken policy (which won't have a comment box) but it seems to be working for both recent and older posts.
This commit is contained in:
@@ -45,10 +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;
|
||||
}
|
||||
// if(! $this->commentable) {
|
||||
// logger('commentable: ' . $data['comment_policy']);
|
||||
// $this->commentable = true;
|
||||
// }
|
||||
}
|
||||
|
||||
// logger('writable: ' . $this->writable);
|
||||
|
Reference in New Issue
Block a user