Skip to content

Commit

Permalink
Merge pull request #63 from creative-commoners/pulls/1/framework-version
Browse files Browse the repository at this point in the history
DEP Increase minimum version of silverstripe/framework
  • Loading branch information
GuySartorelli authored Sep 23, 2024
2 parents 1c521e5 + e337894 commit ffcc66b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Clear.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ class Clear extends Controller
public function __construct()
{
parent::__construct();
if (!method_exists(Deprecation::class, 'withSuppressedNotice')
|| !method_exists(Deprecation::class, 'notice')
) {
return;
}
Deprecation::withSuppressedNotice(function () {
Deprecation::notice(
'1.1.0',
Expand Down

0 comments on commit ffcc66b

Please sign in to comment.