Skip to content

Commit

Permalink
ENH Don't use deprecated method (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Sep 19, 2024
1 parent cd7f4ef commit e0f31df
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::withSuppressedNotice(function () {
Deprecation::notice(
'3.1.0',
'Will be replaced with SilverStripe\CronTask\Cli\CronTaskCommand',
Expand Down

0 comments on commit e0f31df

Please sign in to comment.