Robert Vogel has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/338085 )

Change subject: Fixed usage of DB_READ
......................................................................

Fixed usage of DB_READ

This constant was deprecated long ago.

See also https://sourceforge.net/p/bluespice/bugs/394/

NEEDS MERGE TO MASTER

Change-Id: I35c0ead4c8c41271aea5e9f8ebb2771586e83d08
---
M includes/Config.class.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceFoundation 
refs/changes/85/338085/1

diff --git a/includes/Config.class.php b/includes/Config.class.php
index 0008e25..ca1bdbf 100644
--- a/includes/Config.class.php
+++ b/includes/Config.class.php
@@ -276,7 +276,7 @@
                        $aRows = $aData;
                } else {
                        wfDebugLog( 'BsMemcached' , __CLASS__.': Fetching 
settings from DB' );
-                       $dbr = wfGetDB ( DB_READ );
+                       $dbr = wfGetDB ( DB_SLAVE );
                        # query the settings from bs_settings
                        $res = $dbr->select ( 'bs_settings', array ( 
$dbr->addIdentifierQuotes('key'), $dbr->addIdentifierQuotes('value') ) );
                        $aRows = array();

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I35c0ead4c8c41271aea5e9f8ebb2771586e83d08
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: REL1_27
Gerrit-Owner: Robert Vogel <vo...@hallowelt.biz>

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

Reply via email to