Aaron Schulz has uploaded a new change for review.

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

Change subject: Avoid deprecated Database::getProperty() method
......................................................................

Avoid deprecated Database::getProperty() method

Change-Id: I4e03077b891a4acbc417695a912ff4c0c255e8e2
---
M SpecialInterwikiIntegration.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/InterwikiIntegration 
refs/changes/06/316606/1

diff --git a/SpecialInterwikiIntegration.php b/SpecialInterwikiIntegration.php
index b69a20a..42270fe 100644
--- a/SpecialInterwikiIntegration.php
+++ b/SpecialInterwikiIntegration.php
@@ -25,7 +25,7 @@
                }
                $dbr = wfGetDB( DB_SLAVE );
                $dbw = wfGetDB( DB_MASTER );
-               $localDBname = $dbr -> getProperty ( 'mDBname' );
+               $localDBname = $dbr ->getDBname();
                $dbw->delete ( 'integration_prefix', '*' );
                if ( isset ( $wgInterwikiIntegrationPrefix ) ) {
                        foreach ( $wgInterwikiIntegrationPrefix as $thisPrefix 
=> $thisDatabase ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e03077b891a4acbc417695a912ff4c0c255e8e2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/InterwikiIntegration
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to