From a12d52a1611129b42da17b5838339643525592af Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Thu, 8 Sep 2016 19:33:32 +1200 Subject: [PATCH] BUG Fix some namespace class errors --- code/Controllers/CMSMain.php | 4 +++- code/Controllers/OldPageRedirector.php | 1 - code/Controllers/SilverStripeNavigatorItem.php | 1 + code/Controllers/SilverStripeNavigatorItem_ArchiveLink.php | 5 +++-- code/Controllers/SilverStripeNavigatorItem_CMSLink.php | 1 + code/Controllers/SilverStripeNavigatorItem_LiveLink.php | 1 + code/Controllers/SilverStripeNavigatorItem_StageLink.php | 1 + 7 files changed, 10 insertions(+), 4 deletions(-) diff --git a/code/Controllers/CMSMain.php b/code/Controllers/CMSMain.php index 667fb726..7feb03a8 100644 --- a/code/Controllers/CMSMain.php +++ b/code/Controllers/CMSMain.php @@ -12,6 +12,7 @@ use SilverStripe\CMS\Model\SiteTree; use SilverStripe\Control\Controller; use SilverStripe\Control\Director; use SilverStripe\Control\Session; +use SilverStripe\Control\SS_HTTPRequest; use SilverStripe\Control\SS_HTTPResponse; use SilverStripe\Control\SS_HTTPResponse_Exception; use SilverStripe\Core\Convert; @@ -23,6 +24,7 @@ use SilverStripe\Forms\FieldGroup; use SilverStripe\Forms\FieldList; use SilverStripe\Forms\Form; use SilverStripe\Forms\FormAction; +use SilverStripe\Forms\FormField; use SilverStripe\Forms\GridField\GridField; use SilverStripe\Forms\GridField\GridFieldConfig; use SilverStripe\Forms\GridField\GridFieldDataColumns; @@ -34,12 +36,12 @@ use SilverStripe\Forms\LabelField; use SilverStripe\Forms\LiteralField; use SilverStripe\Forms\RequiredFields; use SilverStripe\Forms\ResetFormAction; +use SilverStripe\Forms\TabSet; use SilverStripe\Forms\TextField; use SilverStripe\ORM\ArrayList; use SilverStripe\ORM\DataList; use SilverStripe\ORM\DataObject; use SilverStripe\ORM\DB; -use SilverStripe\ORM\FieldType\DBHTMLText; use SilverStripe\ORM\HiddenClass; use SilverStripe\ORM\SS_List; use SilverStripe\ORM\Versioning\Versioned; diff --git a/code/Controllers/OldPageRedirector.php b/code/Controllers/OldPageRedirector.php index bb5bbd9d..b5b0a682 100644 --- a/code/Controllers/OldPageRedirector.php +++ b/code/Controllers/OldPageRedirector.php @@ -9,7 +9,6 @@ use SilverStripe\Control\SS_HTTPRequest; use SilverStripe\Control\SS_HTTPResponse; use SilverStripe\Control\SS_HTTPResponse_Exception; use SilverStripe\Core\Extension; -use SilverStripe\ORM\Queries\SQLSelect; class OldPageRedirector extends Extension { diff --git a/code/Controllers/SilverStripeNavigatorItem.php b/code/Controllers/SilverStripeNavigatorItem.php index 4c248bb6..a31c366a 100644 --- a/code/Controllers/SilverStripeNavigatorItem.php +++ b/code/Controllers/SilverStripeNavigatorItem.php @@ -1,4 +1,5 @@ " diff --git a/code/Controllers/SilverStripeNavigatorItem_CMSLink.php b/code/Controllers/SilverStripeNavigatorItem_CMSLink.php index 73798eca..c95e42f5 100644 --- a/code/Controllers/SilverStripeNavigatorItem_CMSLink.php +++ b/code/Controllers/SilverStripeNavigatorItem_CMSLink.php @@ -1,4 +1,5 @@