Remove HTMLFileCache::newFromTitle()
authoraddshore <addshorewiki@gmail.com>
Thu, 26 Jan 2017 19:16:14 +0000 (20:16 +0100)
committerFlorianschmidtwelzow <florian.schmidt.stargatewissen@gmail.com>
Sat, 28 Jan 2017 17:31:18 +0000 (17:31 +0000)
Change-Id: I0076801aa7b9af5083c5a7a66f2d1c9884b70ee9

RELEASE-NOTES-1.29
includes/cache/HTMLFileCache.php

index 330097b..883729b 100644 (file)
@@ -229,6 +229,7 @@ changes to languages because of Phabricator reports.
 * User::crypt() (deprecated in 1.24) was removed.
 * User::comparePasswords() (deprecated in 1.24) was removed.
 * ArchivedFile::getUserText() (deprecated in 1.23) was removed.
+* HTMLFileCache::newFromTitle() (deprecated in 1.24) was removed.
 
 == Compatibility ==
 
index ae8efa9..b0a3a1c 100644 (file)
@@ -35,19 +35,6 @@ class HTMLFileCache extends FileCacheBase {
        const MODE_OUTAGE = 1; // fallback cache for DB outages
        const MODE_REBUILD = 2; // background cache rebuild mode
 
-       /**
-        * Construct an HTMLFileCache object from a Title and an action
-        *
-        * @deprecated since 1.24, instantiate this class directly
-        * @param Title|string $title Title object or prefixed DB key string
-        * @param string $action
-        * @throws MWException
-        * @return HTMLFileCache
-        */
-       public static function newFromTitle( $title, $action ) {
-               return new self( $title, $action );
-       }
-
        /**
         * @param Title|string $title Title object or prefixed DB key string
         * @param string $action