Remove LegacyHookPreAuthenticationProvider class
authorGergő Tisza <tgr.huwiki@gmail.com>
Wed, 10 Oct 2018 01:45:58 +0000 (18:45 -0700)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 17 May 2019 14:39:16 +0000 (10:39 -0400)
Deprecated from birth, hard-deprecated since 1.33.

Change-Id: I03e94c02370ff0057e18274e9b409e162a0d7af0

RELEASE-NOTES-1.34
includes/auth/LegacyHookPreAuthenticationProvider.php [deleted file]

index 2531be2..7e10de1 100644 (file)
@@ -166,6 +166,8 @@ because of Phabricator reports.
 * The Block typehint only refers to blocks stored in the database. It should be
   updated to AbstractBlock in cases where any type of block could be expected.
 * FileRepoStatus, deprecated in 1.25, has been removed.
+* The LegacyHookPreAuthenticationProvider class, deprecated since its creation
+  in 1.27, has been removed.
 * …
 
 === Deprecations in 1.34 ===
diff --git a/includes/auth/LegacyHookPreAuthenticationProvider.php b/includes/auth/LegacyHookPreAuthenticationProvider.php
deleted file mode 100644 (file)
index 5f55ec5..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-/**
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- * http://www.gnu.org/copyleft/gpl.html
- *
- * @file
- * @ingroup Auth
- */
-
-namespace MediaWiki\Auth;
-
-/**
- * A pre-authentication provider to call some legacy hooks.
- * @ingroup Auth
- * @since 1.27
- * @deprecated since 1.27
- */
-class LegacyHookPreAuthenticationProvider extends AbstractPreAuthenticationProvider {
-       public function __construct() {
-               wfDeprecated( self::class, '1.27' );
-       }
-}