From 34592fe710ff9bb4ad7cd6d698bdf437233e4fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Such=C3=A1nek?= Date: Fri, 17 Jun 2022 21:16:20 +0200 Subject: [PATCH] Remove DatabaseUpdater::ifNoActorTable It has been deprecated since 1.35 and it is unused. Change-Id: Ic3ddfa4043e580c368846811dab523ca9de7d63e --- RELEASE-NOTES-1.39 | 2 ++ includes/installer/DatabaseUpdater.php | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/RELEASE-NOTES-1.39 b/RELEASE-NOTES-1.39 index c91cc796cb3..654b47e5d43 100644 --- a/RELEASE-NOTES-1.39 +++ b/RELEASE-NOTES-1.39 @@ -264,6 +264,8 @@ because of Phabricator reports. * ChangesListSpecialPage::checkStructuredFilterUiEnabled() and SpecialWatchlist::checkStructuredFilterUiEnabled() now support UserIdentity as the only argument. Passing Config argument was deprecated in 1.34. +* DatabaseUpdater::ifNoActorTable(), deprecated in 1.35, has been removed. Use + ::ifTableNotExists() instead. * … === Deprecations in 1.39 === diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index 14fed255317..e4fa83d37f5 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -1335,14 +1335,6 @@ abstract class DatabaseUpdater { } } - /** - * @deprecated since 1.35, use ifTableNotExists() instead - */ - protected function ifNoActorTable( $func, ...$params ) { - wfDeprecated( __METHOD__, '1.35' ); - return $this->ifTableNotExists( 'actor', $func, ...$params ); - } - /** * Only run a function if a table does not exist *