Use setProps() to set properties in LocalFile::loadFromCache(), instead of DIY proper...
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 19 Nov 2007 10:04:18 +0000 (10:04 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 19 Nov 2007 10:04:18 +0000 (10:04 +0000)
commit792e9e6a10c6e338593c6838c2b7bb008e6b369b
tree517584615a170062bb45d276483e9c685bbfe89d
parent8a83843dc69d6efd54a613a6cd6b669db13abc7b
Use setProps() to set properties in LocalFile::loadFromCache(), instead of DIY property-setting. I must have forgotten to do this when I introduced setProps(), the result was a bug (hereby fixed) causing zero cache-hit ratio for the image cache.
includes/filerepo/LocalFile.php