Inject "srvCache" and local DB connections into LockManagerDB
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 18 Sep 2016 06:35:05 +0000 (23:35 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 19 Sep 2016 08:30:17 +0000 (01:30 -0700)
commit0cf832a339422a3beb088b88e43f69322f2cbad0
treefa524c80d566bed998fe203d4d64bcfc258ce3c6
parentdd77e0411dd0dc86762f7cf3840e5a3afa9cbafe
Inject "srvCache" and local DB connections into LockManagerDB

* Also simplified the srvCache variable usage to be unconditional.
* The wfRandomString() call has also been replaced.

Change-Id: I17e83b17ec549906ee200bbe9eb2f0b151423e26
includes/DefaultSettings.php
includes/filebackend/lockmanager/DBLockManager.php
includes/filebackend/lockmanager/LockManagerGroup.php
includes/filebackend/lockmanager/MySqlLockManager.php