Only run sha1_file once per file in FSFile
authorMarius Hoch <hoo@online.de>
Thu, 28 Feb 2013 00:11:12 +0000 (01:11 +0100)
committerMarius Hoch <hoo@online.de>
Thu, 28 Feb 2013 00:14:39 +0000 (01:14 +0100)
commit13ae6bfb4fe54b0798e9be985951797605edf144
tree80d024c30cc969535de25972b63dc17997527884
parent17f1ac5a29532588188ed85b4e8762a31ef412bd
Only run sha1_file once per file in FSFile

This shouldn't harm as we don't use this and then alter the file.
But it can kick in useful with extension that need the sha1 of
files (like AbuseFilter).

Change-Id: Ied2ac0397266a5ffd27da02ef6448b64c12fad86
includes/filebackend/FSFile.php