Fix overzealous prefix check in MWLBFactory
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 24 Mar 2019 03:07:56 +0000 (20:07 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sun, 24 Mar 2019 03:08:01 +0000 (20:08 -0700)
commit0449f653c7147328e9ddcce9861733fc29e6f961
treed3e6d7a0331f271dcb1940024b23b9893df543d0
parent78fd75aac3b91f118d6faddb14098181507bf477
Fix overzealous prefix check in MWLBFactory

Follow-up 9df277a4ba3

If the server array ommitted 'tablePrefix', Database will
use '' as the prefix, so if $wgDBprefix is also '', then
no error should happen.

Change-Id: Ic207c3fceae8fd45c87f7fa24678079217a60730
includes/db/MWLBFactory.php