From ff7684a1cf5212b8a3ad52f429fb3412e34141ea Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 18 Sep 2024 10:53:10 +1200 Subject: [PATCH] ENH Don't use deprecated method --- code/Extensions/ProxyDBExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Extensions/ProxyDBExtension.php b/code/Extensions/ProxyDBExtension.php index d4bd048..4b955dc 100644 --- a/code/Extensions/ProxyDBExtension.php +++ b/code/Extensions/ProxyDBExtension.php @@ -17,7 +17,7 @@ class ProxyDBExtension extends Extension { public function __construct() { - Deprecation::withNoReplacement(function () { + Deprecation::withSuppressedWarning(function () { Deprecation::notice( '3.2.0', 'Will be replaced with an extension on SilverStripe\ORM\Connect\Database.',