Merge pull request #118 from scott1702/parent-comment
Remove Parent Comment row
This commit is contained in:
commit
298ac89ad6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue