wiki.techinc.nl/includes/filerepo/TempFileRepo.php

10 lines
229 B
PHP
Raw Normal View History

<?php
/**
* FileRepo for temporary files created via FileRepo::getTempRepo()
*/
class TempFileRepo extends FileRepo {
public function getTempRepo() {
throw new MWException( "Cannot get a temp repo from a temp repo." );
}
}