From af95474b629bf27506e18d8b2e700b70cf426923 Mon Sep 17 00:00:00 2001 From: addshore Date: Thu, 26 Jan 2017 20:16:14 +0100 Subject: [PATCH] Remove HTMLFileCache::newFromTitle() Change-Id: I0076801aa7b9af5083c5a7a66f2d1c9884b70ee9 --- RELEASE-NOTES-1.29 | 1 + includes/cache/HTMLFileCache.php | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29 index 330097b512..883729b4e0 100644 --- a/RELEASE-NOTES-1.29 +++ b/RELEASE-NOTES-1.29 @@ -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 == diff --git a/includes/cache/HTMLFileCache.php b/includes/cache/HTMLFileCache.php index ae8efa9c82..b0a3a1c262 100644 --- a/includes/cache/HTMLFileCache.php +++ b/includes/cache/HTMLFileCache.php @@ -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 -- 2.20.1