aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-18 18:48:41 -0700
committerfriendica <info@friendica.com>2013-06-18 18:48:41 -0700
commit40c8e89d8476696a2e4a57a27970f6067b803e22 (patch)
treea34f5c334db517c7cf4de8b885ab478bdff035d5 /include/ItemObject.php
parent6220ab4b549e8a754b2d331d4e8b4fae36e8f98f (diff)
downloadvolse-hubzilla-40c8e89d8476696a2e4a57a27970f6067b803e22.tar.gz
volse-hubzilla-40c8e89d8476696a2e4a57a27970f6067b803e22.tar.bz2
volse-hubzilla-40c8e89d8476696a2e4a57a27970f6067b803e22.zip
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.
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index e5185bef6..1205ae13e 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -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);