Merge "Add id attribute to error message "mw-error-cannotundelete""
[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 }