Kill non namespaced ScopedCallback
authorReedy <reedy@wikimedia.org>
Thu, 31 May 2018 23:30:07 +0000 (00:30 +0100)
committerReedy <reedy@wikimedia.org>
Thu, 31 May 2018 23:30:07 +0000 (00:30 +0100)
Change-Id: I94d14e4bf60c6f3b2c359ac8da61b783f8375bd0

RELEASE-NOTES-1.32
autoload.php
includes/compat/ScopedCallback.php [deleted file]

index dca8311..3f8d8e9 100644 (file)
@@ -131,6 +131,8 @@ because of Phabricator reports.
   values `true` and `false` respectively.
 * The $parserMemc global and wfGetParserCacheStorage(), deprecated since 1.30,
   were removed. Use the ParserCache class instead.
+* ScopedCallback (deprecated in 1.28) was removed. Use Wikimedia\ScopedCallback
+  instead.
 
 === Deprecations in 1.32 ===
 * Use of a StartProfiler.php file is deprecated in favour of placing
index f1b3ae0..7b8be1a 100644 (file)
@@ -1279,7 +1279,6 @@ $wgAutoloadLocalClasses = [
        'SVGReader' => __DIR__ . '/includes/media/SVGMetadataExtractor.php',
        'SamplingStatsdClient' => __DIR__ . '/includes/libs/stats/SamplingStatsdClient.php',
        'Sanitizer' => __DIR__ . '/includes/parser/Sanitizer.php',
-       'ScopedCallback' => __DIR__ . '/includes/compat/ScopedCallback.php',
        'ScopedLock' => __DIR__ . '/includes/libs/lockmanager/ScopedLock.php',
        'SearchApi' => __DIR__ . '/includes/api/SearchApi.php',
        'SearchDatabase' => __DIR__ . '/includes/search/SearchDatabase.php',
diff --git a/includes/compat/ScopedCallback.php b/includes/compat/ScopedCallback.php
deleted file mode 100644 (file)
index 4fd4bc7..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-/**
- * Compatibility class for pre-namespace, pre-library class name
- *
- * 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
- */
-
-/**
- * @deprecated since 1.28 use Wikimedia\ScopedCallback
- *
- * @since 1.21
- */
-class ScopedCallback extends Wikimedia\ScopedCallback {
-}