[FileBackend] Process cache fixes and cleanups.
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 26 May 2012 05:42:33 +0000 (22:42 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 26 May 2012 20:06:40 +0000 (13:06 -0700)
commita998d3ff0906934fe3dd891887131ea48df2748b
tree6f888c5b75d8b0e87ce3601978f0757e2fbb6ad1
parent56cc9ca8d0ef84a9fbbcc014a2a248c918d82172
[FileBackend] Process cache fixes and cleanups.

* Made getLocalReference() and getFileSha1Base36() respect latest wrt to cache.
* Made Made getLocalReference() and getFileSha1Base36() normalize the paths for cache.
* Avoid misleading (suggesting cache misses) getFileSha1Base36() profile calls for Swift.

Change-Id: I192a4f00c123029cfa338ec74cd08a355e29896b
includes/filerepo/backend/FileBackendStore.php
includes/filerepo/backend/SwiftFileBackend.php