From 610b5ca934c52ed065925680265f49114994f1aa Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 29 Oct 2024 17:58:37 +1300 Subject: [PATCH] API Use updated Versioned and Staged classes --- src/Jobs/GenerateGoogleSitemapJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jobs/GenerateGoogleSitemapJob.php b/src/Jobs/GenerateGoogleSitemapJob.php index 08d52794..d8ee701a 100644 --- a/src/Jobs/GenerateGoogleSitemapJob.php +++ b/src/Jobs/GenerateGoogleSitemapJob.php @@ -12,7 +12,7 @@ use SilverStripe\ErrorPage\ErrorPage; use SilverStripe\ORM\DB; use SilverStripe\ORM\FieldType\DBDatetime; -use SilverStripe\Versioned\Versioned; +use SilverStripe\Versioned\Mode\Versioned; use Symbiote\QueuedJobs\Services\AbstractQueuedJob; use Symbiote\QueuedJobs\Services\QueuedJob; use Symbiote\QueuedJobs\Services\QueuedJobService;