From 8ebf122a4ab30c241e004e79566fd6b44e336fc0 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 11 Dec 2024 12:33:52 +1300 Subject: [PATCH] FIX Add missing Deprecation imports --- code/Controllers/CMSMain.php | 1 + code/Model/SiteTree.php | 1 + 2 files changed, 2 insertions(+) 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