Addshore has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/334413 )
Change subject: Remove HTMLFileCache::newFromTitle()
......................................................................
Remove HTMLFileCache::newFromTitle()
Change-Id: I0076801aa7b9af5083c5a7a66f2d1c9884b70ee9
---
M RELEASE-NOTES-1.29
M includes/cache/HTMLFileCache.php
2 files changed, 1 insertion(+), 13 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/13/334413/1
diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29
index 0848a1b..718b963 100644
--- a/RELEASE-NOTES-1.29
+++ b/RELEASE-NOTES-1.29
@@ -211,6 +211,7 @@
* 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 ae8efa9..b0a3a1c 100644
--- a/includes/cache/HTMLFileCache.php
+++ b/includes/cache/HTMLFileCache.php
@@ -36,19 +36,6 @@
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
* @throws MWException
--
To view, visit https://gerrit.wikimedia.org/r/334413
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0076801aa7b9af5083c5a7a66f2d1c9884b70ee9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits