Merge "Special:Upload should not crash on failing previews"
[mediawiki.git] / includes / filerepo / TempFileRepo.php
blobc9a6b592c6003d8c2dd3cc6d5d08cc76fe7f6e2d
1 <?php
2 /**
3 * FileRepo for temporary files created via FileRepo::getTempRepo()
4 */
5 class TempFileRepo extends FileRepo {
6 public function getTempRepo() {
7 throw new MWException( "Cannot get a temp repo from a temp repo." );