aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index 1205ae13e..fc4db3ecf 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -45,17 +45,8 @@ 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);
-// logger('commentable: ' . $this->commentable . ' uid=' . $this->data['uid'] . ' observer=' . $this->observer['xchan_hash']);
-// if(get_config('system','thread_allow') && $a->theme_thread_allow && !$this->is_toplevel())
-// $this->threaded = true;
-
// Prepare the children
if(count($data['children'])) {
foreach($data['children'] as $item) {