Fix for r106752: let TempFSFile deletions happen when the object goes out of scope...
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 9 Feb 2012 23:56:48 +0000 (23:56 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 9 Feb 2012 23:56:48 +0000 (23:56 +0000)
commitf1052ff5283f1ffc5647bbc997e3c235e5b51550
tree11e69938de8ebbcabab8b0a77bd748a9594856e5
parentb834075972ab3ecaf8911c67b42cc7a183a731ae
Fix for r106752: let TempFSFile deletions happen when the object goes out of scope, as you would expect with this RAII pattern, rather than leaving it until shutdown. PHP has lots of bugs in its shutdown process so doing the file delete at scope destruction means it's more likely to happen.
includes/filerepo/backend/TempFSFile.php