diff --git a/src/Controllers/CronTaskController.php b/src/Controllers/CronTaskController.php index d68a3f5..bb4ebc3 100644 --- a/src/Controllers/CronTaskController.php +++ b/src/Controllers/CronTaskController.php @@ -37,7 +37,7 @@ class CronTaskController extends Controller public function __construct() { parent::__construct(); - Deprecation::withNoReplacement(function () { + Deprecation::withSuppressedWarning(function () { Deprecation::notice( '3.1.0', 'Will be replaced with SilverStripe\CronTask\Cli\CronTaskCommand',