Skip to content

Commit

Permalink
Remove schema component definition, it defaults to HistoryViewer already
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Sep 6, 2018
1 parent 82e13db commit 9bb5ec2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Models/BaseElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ public function getCMSFields()
Requirements::javascript('dnadesign/silverstripe-elemental:client/dist/js/bundle.js');

$historyViewer = HistoryViewerField::create('ElementHistory');
$historyViewer->setSchemaComponent('HistoryViewer');

$fields->addFieldToTab('Root.History', $historyViewer);

Expand Down

0 comments on commit 9bb5ec2

Please sign in to comment.