diff --git a/src/Extension/Engine/SiteTreePublishingEngine.php b/src/Extension/Engine/SiteTreePublishingEngine.php index 75102a0d..56cb09d3 100644 --- a/src/Extension/Engine/SiteTreePublishingEngine.php +++ b/src/Extension/Engine/SiteTreePublishingEngine.php @@ -14,7 +14,7 @@ use SilverStripe\StaticPublishQueue\Job\DeleteStaticCacheJob; use SilverStripe\StaticPublishQueue\Job\GenerateStaticCacheJob; use SilverStripe\StaticPublishQueue\Service\UrlBundleInterface; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use Symbiote\QueuedJobs\Services\QueuedJobService; /** diff --git a/src/Job/StaticCacheFullBuildJob.php b/src/Job/StaticCacheFullBuildJob.php index 9e5ead33..648a6e1c 100644 --- a/src/Job/StaticCacheFullBuildJob.php +++ b/src/Job/StaticCacheFullBuildJob.php @@ -7,7 +7,7 @@ use SilverStripe\StaticPublishQueue\Extension\Publishable\PublishableSiteTree; use SilverStripe\StaticPublishQueue\Job; use SilverStripe\StaticPublishQueue\Publisher; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; /** * Adds all live pages to the queue for caching. Best implemented on a cron via StaticCacheFullBuildTask.