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:
friendica
2013-06-18 18:48:41 -07:00
parent 6220ab4b54
commit 40c8e89d84
3 changed files with 17 additions and 14 deletions

View File

@@ -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);