From 48cd0cae5e0bf40d3629134d58fed52a0193abd4 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 8 Nov 2022 17:34:51 +1300 Subject: [PATCH] API Stop using deprecated API --- code/Extensions/UsedOnTableExtension.php | 1 - code/Forms/FileSearchFormFactory.php | 5 ----- 2 files changed, 6 deletions(-) diff --git a/code/Extensions/UsedOnTableExtension.php b/code/Extensions/UsedOnTableExtension.php index 3269829f8..89d7e2ce0 100644 --- a/code/Extensions/UsedOnTableExtension.php +++ b/code/Extensions/UsedOnTableExtension.php @@ -34,7 +34,6 @@ public function updateUsageExcludedClasses(array &$excludedClasses) */ public function updateUsage(ArrayList &$usage, DataObject &$record) { - Deprecation::notice('1.7.0', 'Use updateUsageExcludedClasses() instead'); // noop } diff --git a/code/Forms/FileSearchFormFactory.php b/code/Forms/FileSearchFormFactory.php index 05376e92b..73e964d0c 100644 --- a/code/Forms/FileSearchFormFactory.php +++ b/code/Forms/FileSearchFormFactory.php @@ -21,11 +21,6 @@ class FileSearchFormFactory implements FormFactory use Extensible; use Injectable; - public function __construct() - { - $this->constructExtensions(); - } - /** * Generates the form *