Merge "block: Avoid use of empty() which doesn't warn on var non-existence"
[lhc/web/wiklou.git] / includes / filerepo / TempFileRepo.php
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." );
8 }
9 }