Skip to content

Commit

Permalink
ENH Don't use deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Sep 17, 2024
1 parent cd7f4ef commit b5138f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/CronTaskController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b5138f3

Please sign in to comment.