From a5bed7f27f400a0c80d073bd2f5ba9f1b5d51684 Mon Sep 17 00:00:00 2001 From: scott1702 Date: Tue, 21 Apr 2015 16:05:20 +1200 Subject: [PATCH] Remove parent comment field --- code/model/Comment.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/code/model/Comment.php b/code/model/Comment.php index ce89529..be75c9e 100755 --- a/code/model/Comment.php +++ b/code/model/Comment.php @@ -561,15 +561,6 @@ class Comment extends DataObject { ); } - // Show parent comment details - if(($parent = $this->ParentComment()) && $parent->exists()) { - $fields->insertAfter( - TextField::create('ParentCommentDescription', $this->fieldLabel('ParentComment'), $parent->Title) - ->performReadonlyTransformation(), - 'Created' - ); - } - $this->extend('updateCMSFields', $fields); return $fields; }