diff --git a/src/Jobs/GenerateGoogleSitemapJob.php b/src/Jobs/GenerateGoogleSitemapJob.php index 08d5279..d8ee701 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;