Skip to content

Commit

Permalink
ENH Don't use deprecated method (silverstripe#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Sep 19, 2024
1 parent 0fa5cc2 commit fa8f798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/UserForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public function getSubmissionsGridField()
$config->addComponent(new BulkManager);
}

Deprecation::withNoReplacement(function () use ($sort, $filter, $pagination) {
Deprecation::withSuppressedNotice(function () use ($sort, $filter, $pagination) {
$sort->setThrowExceptionOnBadDataType(false);
$filter->setThrowExceptionOnBadDataType(false);
$pagination->setThrowExceptionOnBadDataType(false);
Expand Down

0 comments on commit fa8f798

Please sign in to comment.