diff --git a/code/Controllers/CMSMain.php b/code/Controllers/CMSMain.php index 18cb08e00f..3a763c3b24 100644 --- a/code/Controllers/CMSMain.php +++ b/code/Controllers/CMSMain.php @@ -72,6 +72,7 @@ use SilverStripe\VersionedAdmin\Controllers\CMSPageHistoryViewerController; use SilverStripe\Model\ArrayData; use SilverStripe\View\Requirements; +use SilverStripe\Dev\Deprecation; /** * The main "content" area of the CMS. diff --git a/code/Model/SiteTree.php b/code/Model/SiteTree.php index e003165f6a..5ee6a6398e 100755 --- a/code/Model/SiteTree.php +++ b/code/Model/SiteTree.php @@ -78,6 +78,7 @@ use SilverStripe\View\Parsers\URLSegmentFilter; use SilverStripe\View\Shortcodes\EmbedShortcodeProvider; use SilverStripe\View\SSViewer; +use SilverStripe\Dev\Deprecation; /** * Basic data-object representing all pages within the site tree. All page types that live within the hierarchy should