jenkins-bot has submitted this change and it was merged. (
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(-)
Approvals:
Florianschmidtwelzow: Looks good to me, approved
jenkins-bot: Verified
diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29
index 330097b..883729b 100644
--- a/RELEASE-NOTES-1.29
+++ b/RELEASE-NOTES-1.29
@@ -229,6 +229,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: merged
Gerrit-Change-Id: I0076801aa7b9af5083c5a7a66f2d1c9884b70ee9
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits