[FileRepo] Split out store/purge functions for thumbnails and made them skip file...
authorAaron <aschulz@wikimedia.org>
Mon, 16 Apr 2012 23:51:55 +0000 (16:51 -0700)
committerAaron <aschulz@wikimedia.org>
Mon, 16 Apr 2012 23:52:15 +0000 (16:52 -0700)
commitffb1b38ad83927606c539ac941e9f3eb2653a840
treec7318e0bed13bba1afdb1d2bb23b787a0b8e0a1b
parent23ab182801882a2ca42cde791b881c3771d42c89
[FileRepo] Split out store/purge functions for thumbnails and made them skip file journals.

* Added quickImport()/quickPurge() functions to store and delete files as fast as possible.
* Also added a cleanDir() function to avoid having File directly use FileBackend functions.

Change-Id: I9a19862f1a720c5a464bd37f79b58a505c5961f9
includes/filerepo/FileRepo.php
includes/filerepo/file/File.php
includes/filerepo/file/ForeignAPIFile.php
includes/filerepo/file/LocalFile.php