build: Updating mediawiki/mediawiki-codesniffer to 13.0.0

Change-Id: I90d2696ee78e6647bdc034c55fcab5896ea76f3d
This commit is contained in:
libraryupgrader 2017-09-24 05:22:25 +00:00
parent ef2b6c3fd0
commit 5f36ec60c7
3 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ function efContributionScores_Render( &$parser, $usertext, $metric = 'score' ) {
}
$user = User::newFromName( $usertext );
$dbr = wfGetDB( DB_SLAVE );
$dbr = wfGetDB( DB_REPLICA );
if ( $user instanceof User && $user->isLoggedIn() ) {
global $wgLang;