ENH Don't use deprecated method (#259)

This commit is contained in:
Guy Sartorelli 2024-09-19 14:05:01 +12:00 committed by GitHub
parent 4aea5a5146
commit f7ee5d7fe8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ class ContentReviewOwnerMigrationTask extends BuildTask
public function __construct() public function __construct()
{ {
parent::__construct(); parent::__construct();
Deprecation::withNoReplacement(function () { Deprecation::withSuppressedNotice(function () {
Deprecation::notice( Deprecation::notice(
'5.4.0', '5.4.0',
'Will be removed without equivalent functionality to replace it', 'Will be removed without equivalent functionality to replace it',