Convert LocalFile to using getWithSetCallback() for caching
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 30 Aug 2016 06:22:22 +0000 (23:22 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 1 Sep 2016 00:36:02 +0000 (17:36 -0700)
commit6ec1bcc04a3295426d5db1db41d6878dfd9ef18f
tree500cbcd04f9b7540dca47806b3f265c8d7a18f9c
parentfb2523edf2f52601ca998ab002ce8b7c5d848c08
Convert LocalFile to using getWithSetCallback() for caching

Changed the hashing for the keys to SHA-1, which also avoids
problems with old MediaWiki versions seeing the new WAN
versioned keys.

Also fixed a few annoying IDEA errors

Change-Id: Ie608fb86421bc96e05e4a3b352f39b4938a243e4
includes/filerepo/file/LocalFile.php