mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Removed dud Requirements breaking the RedirectorPage
Also removed the dependency
This commit is contained in:
parent
524067caaa
commit
0dd81fcbe8
@ -6,7 +6,6 @@ use SilverStripe\Forms\HeaderField;
|
||||
use SilverStripe\Forms\OptionsetField;
|
||||
use SilverStripe\Forms\TextField;
|
||||
use SilverStripe\Forms\TreeDropdownField;
|
||||
use SilverStripe\View\Requirements;
|
||||
use Page;
|
||||
|
||||
/**
|
||||
@ -139,8 +138,6 @@ class RedirectorPage extends Page {
|
||||
}
|
||||
|
||||
public function getCMSFields() {
|
||||
Requirements::javascript(CMS_DIR . '/client/dist/js/RedirectorPage.js');
|
||||
|
||||
$fields = parent::getCMSFields();
|
||||
$fields->removeByName('Content', true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user