Cleaned up getScopedFileLocks() return value
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 18 Sep 2015 17:45:15 +0000 (10:45 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 18 Sep 2015 17:58:11 +0000 (17:58 +0000)
commit5cea7769d3d0d6bd2e502af14be0afbf3730be59
tree42b54854a70a5b85ae27065fec4c05e7c7b3958a
parent6f3372b1c9fa02d346e45be81b99a166f493f954
Cleaned up getScopedFileLocks() return value

* Just return the ScopedLock itself without wrappig it in an array.
  This also makes getScopedLocksForOps() actually return the correct
  type according to the docs

Change-Id: Ic2d01d56c3fcb22af3adb5e5d4d1586d62316552
includes/filebackend/FileBackend.php
includes/filebackend/FileBackendMultiWrite.php
includes/filebackend/FileBackendStore.php