jenkins-bot has submitted this change and it was merged.
Change subject: resourceloader: Document that WikiModule::getDB() may return
IDatabase
......................................................................
resourceloader: Document that WikiModule::getDB() may return IDatabase
Change-Id: I97d604c5fab38f379adcc76412bd5ee23294b300
---
M includes/resourceloader/ResourceLoaderWikiModule.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Krinkle: Looks good to me, but someone else must approve
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/resourceloader/ResourceLoaderWikiModule.php
b/includes/resourceloader/ResourceLoaderWikiModule.php
index 2a1736d..e195cf2 100644
--- a/includes/resourceloader/ResourceLoaderWikiModule.php
+++ b/includes/resourceloader/ResourceLoaderWikiModule.php
@@ -70,7 +70,7 @@
* In particular, it doesn't work for getting the content of JS and CSS
pages. That functionality
* will use the local DB irrespective of the return value of this
method.
*
- * @return DatabaseBase|null
+ * @return IDatabase|null
*/
protected function getDB() {
return wfGetDB( DB_SLAVE );
--
To view, visit https://gerrit.wikimedia.org/r/170735
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I97d604c5fab38f379adcc76412bd5ee23294b300
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits