mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Remove parent comment field
This commit is contained in:
parent
468df23801
commit
a5bed7f27f
@ -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
Block a user