From 21fe27c7b01c975a11ef2f1d657286fbd0dc82e5 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 25 Sep 2017 18:37:35 +0100 Subject: [PATCH] resourceloader: Remove deprecated MessageBlobStore::insertMessageBlob Deprecated since MediaWiki 1.27. No uses in Wikimedia Git. Follows-up 5d5b269e0e63. (T113092) Change-Id: I98c4db4fb0a3909d25d0fcd587e0f34391612423 --- RELEASE-NOTES-1.31 | 2 +- includes/cache/MessageBlobStore.php | 8 -------- tests/phpunit/includes/OutputPageTest.php | 4 ---- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index bbaaf16b61..60a49b7652 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -39,7 +39,7 @@ changes to languages because of Phabricator reports. * … === Other changes in 1.31 === -* … +* MessageBlobStore::insertMessageBlob() (deprecated in 1.27) was removed. == Compatibility == MediaWiki 1.31 requires PHP 5.5.9 or later. There is experimental support for diff --git a/includes/cache/MessageBlobStore.php b/includes/cache/MessageBlobStore.php index b076a083c9..b262eab602 100644 --- a/includes/cache/MessageBlobStore.php +++ b/includes/cache/MessageBlobStore.php @@ -128,14 +128,6 @@ class MessageBlobStore implements LoggerAwareInterface { return $this->getBlobs( $modules, $lang ); } - /** - * @deprecated since 1.27 Obsolete. Used to populate a cache table in the database. - * @return bool - */ - public function insertMessageBlob( $name, ResourceLoaderModule $module, $lang ) { - return false; - } - /** * @since 1.27 * @param ResourceLoaderModule $module diff --git a/tests/phpunit/includes/OutputPageTest.php b/tests/phpunit/includes/OutputPageTest.php index 52103f97cc..d29c79de84 100644 --- a/tests/phpunit/includes/OutputPageTest.php +++ b/tests/phpunit/includes/OutputPageTest.php @@ -685,10 +685,6 @@ class NullMessageBlobStore extends MessageBlobStore { return []; } - public function insertMessageBlob( $name, ResourceLoaderModule $module, $lang ) { - return false; - } - public function updateModule( $name, ResourceLoaderModule $module, $lang ) { } -- 2.20.1