Merge pull request #118 from scott1702/parent-comment

Remove Parent Comment row
This commit is contained in:
Damian Mooyman 2015-04-21 18:45:56 +12:00
commit 298ac89ad6
1 changed files with 0 additions and 9 deletions

View File

@ -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;
}