QueryPage: Remove useless check
Change-Id: I676b26633103c10b1aa20646cbbe46e6450cc7cf
This commit is contained in:
parent
ccc149603f
commit
798593cc73
1 changed files with 0 additions and 3 deletions
|
|
@ -369,9 +369,6 @@ abstract class QueryPage extends SpecialPage {
|
|||
|
||||
$fname = static::class . '::recache';
|
||||
$dbw = $this->getDBLoadBalancer()->getConnectionRef( ILoadBalancer::DB_MASTER );
|
||||
if ( !$dbw ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
# Do query
|
||||
|
|
|
|||
Loading…
Reference in a new issue