Style and IDEA warning cleanups
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 7 Sep 2016 15:40:39 +0000 (08:40 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 7 Sep 2016 15:41:26 +0000 (08:41 -0700)
commit2e8d14593abba8658da342941a3bf282d1f4eb81
tree4641af9d352edd54314cedba6f243acf31c429c4
parentdc178bf8f6b768919464f52905fc0d42d17fc3fe
Style and IDEA warning cleanups

* Avoid deprecated method use in MediaWiki.php.
* Move LBFactory::beginMasterChanges down a bit, next
  to LBFactory::commitMasterChanges.
* Rename $factory => $lbFactory.
* Remove redundant $conn->trxLevel() check.

Change-Id: I309ff3b8e3f586f0ac40b2f3be26b161993b58d2
includes/MediaWiki.php
includes/db/loadbalancer/LBFactory.php
includes/db/loadbalancer/LoadBalancer.php