* Removed newFileFromKey() which had a misleading description and a bug where giving...
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 19 Oct 2011 04:06:16 +0000 (04:06 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 19 Oct 2011 04:06:16 +0000 (04:06 +0000)
commit3630c4ee77320af1d360c575c62da8de96c61c59
treed0fbc8358636890e207c660452f8127b2450ce01
parentbc02b15e0ca0536e09442aa55c55553f049e2dde
* Removed newFileFromKey() which had a misleading description and a bug where giving a sha1,time could fail if two current version files existed with the same sha1 but different timestamps. Merged the code into findFileFromKey().
* Fixed bug in findFileFromKey() were it would bail out if it couldn't find a matching current file without even check for matching old files.
* Fixed timestamp format of oi_timestamp condition in newFromKey().
* Some code style cleanups.
includes/filerepo/FileRepo.php
includes/filerepo/LocalFile.php
includes/filerepo/OldLocalFile.php