Skip to content

Commit

Permalink
Merge branch '5' into 6
Browse files Browse the repository at this point in the history
github-actions[bot] committed Sep 14, 2024
2 parents 8cfc3b6 + 4aea5a5 commit f8f36e0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Tasks/ContentReviewOwnerMigrationTask.php
Original file line number Diff line number Diff line change
@@ -4,13 +4,27 @@

use SilverStripe\Control\HTTPRequest;
use SilverStripe\Dev\BuildTask;
use SilverStripe\Dev\Deprecation;
use SilverStripe\ORM\DB;

/**
* Task which migrates the ContentReview Module's SiteTree->OwnerID column to a new column name.
* @deprecated 5.4.0 Will be removed without equivalent functionality to replace it
*/
class ContentReviewOwnerMigrationTask extends BuildTask
{
public function __construct()
{
parent::__construct();
Deprecation::withNoReplacement(function () {
Deprecation::notice(
'5.4.0',
'Will be removed without equivalent functionality to replace it',
Deprecation::SCOPE_CLASS
);
});
}

/**
* @param HTTPRequest $request
*/

0 comments on commit f8f36e0

Please sign in to comment.