diff options
-rw-r--r-- | RELEASE-NOTES-1.34 | 1 | ||||
-rw-r--r-- | autoload.php | 1 | ||||
-rw-r--r-- | includes/compat/ObjectFactory.php | 27 |
3 files changed, 1 insertions, 28 deletions
diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index da765c3b275f..635152b1675b 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -86,6 +86,7 @@ because of Phabricator reports. * The ill-defined "DatabaseOraclePostInit" hook has been removed. * PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have been removed. +* ObjectFactory class, deprecated in 1.31, has been removed. === Deprecations in 1.34 === * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo. diff --git a/autoload.php b/autoload.php index be4a1de25c9c..9bbb13f37adf 100644 --- a/autoload.php +++ b/autoload.php @@ -1037,7 +1037,6 @@ $wgAutoloadLocalClasses = [ 'ORAField' => __DIR__ . '/includes/db/ORAField.php', 'ORAResult' => __DIR__ . '/includes/db/ORAResult.php', 'ObjectCache' => __DIR__ . '/includes/objectcache/ObjectCache.php', - 'ObjectFactory' => __DIR__ . '/includes/compat/ObjectFactory.php', 'OldChangesList' => __DIR__ . '/includes/changes/OldChangesList.php', 'OldLocalFile' => __DIR__ . '/includes/filerepo/file/OldLocalFile.php', 'OldRevisionImporter' => __DIR__ . '/includes/import/OldRevisionImporter.php', diff --git a/includes/compat/ObjectFactory.php b/includes/compat/ObjectFactory.php deleted file mode 100644 index 76462380184d..000000000000 --- a/includes/compat/ObjectFactory.php +++ /dev/null @@ -1,27 +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 - */ - -/** - * Construct objects from configuration instructions. - * - * @deprecated since 1.31, use \Wikimedia\ObjectFactory instead - */ -class ObjectFactory extends \Wikimedia\ObjectFactory { -} |