Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/243875

Change subject: Remove bogus wfGetDB() param
......................................................................

Remove bogus wfGetDB() param

Change-Id: Iac653a89489645892ab0786a246ac43e14e92048
---
M includes/api/ApiEditList.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/75/243875/1

diff --git a/includes/api/ApiEditList.php b/includes/api/ApiEditList.php
index cd6c8f2..85ead7f 100644
--- a/includes/api/ApiEditList.php
+++ b/includes/api/ApiEditList.php
@@ -127,7 +127,7 @@
                $isNew = $listId === null;
                $isWatchlist = $listId === 0;
 
-               $dbw = wfGetDB( DB_MASTER, 'api' );
+               $dbw = wfGetDB( DB_MASTER );
                $logEventName = false;
 
                if ( $isNew || $isWatchlist ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/243875
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac653a89489645892ab0786a246ac43e14e92048
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to