From 912d4eb7664f391fd126b1ef30a10632216c0012 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 29 Oct 2024 17:56:49 +1300 Subject: [PATCH] API Use updated Versioned and Staged classes --- src/Reports/PagesDueForReviewReport.php | 2 +- src/Reports/PagesWithoutReviewScheduleReport.php | 2 +- tests/php/SiteTreeContentReviewTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Reports/PagesDueForReviewReport.php b/src/Reports/PagesDueForReviewReport.php index 9399075..9c1fa04 100644 --- a/src/Reports/PagesDueForReviewReport.php +++ b/src/Reports/PagesDueForReviewReport.php @@ -17,7 +17,7 @@ use SilverStripe\Reports\Report; use SilverStripe\Security\Security; use SilverStripe\SiteConfig\SiteConfig; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * Show all pages that need to be reviewed. diff --git a/src/Reports/PagesWithoutReviewScheduleReport.php b/src/Reports/PagesWithoutReviewScheduleReport.php index e979c8a..179bde3 100644 --- a/src/Reports/PagesWithoutReviewScheduleReport.php +++ b/src/Reports/PagesWithoutReviewScheduleReport.php @@ -14,7 +14,7 @@ use SilverStripe\Model\List\SS_List; use SilverStripe\Reports\Report; use SilverStripe\SiteConfig\SiteConfig; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * Show all pages that need to be reviewed. diff --git a/tests/php/SiteTreeContentReviewTest.php b/tests/php/SiteTreeContentReviewTest.php index 84b53e6..2b0f2bc 100644 --- a/tests/php/SiteTreeContentReviewTest.php +++ b/tests/php/SiteTreeContentReviewTest.php @@ -16,7 +16,7 @@ use SilverStripe\Security\Group; use SilverStripe\Security\Member; use SilverStripe\SiteConfig\SiteConfig; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use SilverStripe\Model\List\ArrayList; use SilverStripe\Dev\FunctionalTest; use SilverStripe\ContentReview\Tests\SiteTreeContentReviewTestPage;