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;