From: addshore Date: Thu, 26 Jan 2017 19:16:14 +0000 (+0100) Subject: Remove HTMLFileCache::newFromTitle() X-Git-Tag: 1.31.0-rc.0~4205 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/Cool_%22Gator%22?a=commitdiff_plain;h=af95474b629bf27506e18d8b2e700b70cf426923;p=lhc%2Fweb%2Fwiklou.git Remove HTMLFileCache::newFromTitle() Change-Id: I0076801aa7b9af5083c5a7a66f2d1c9884b70ee9 --- 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