Make a note about the reserved word problem.
[mediawiki.git] / includes / filerepo / NullRepo.php
blob87bfd3ab676055f704c9a8a3e3dd94c6c45c3495
1 <?php
3 /**
4 * File repository with no files, for performance testing
5 */
7 class NullRepo extends FileRepo {
8 function __construct( $info ) {}
10 function storeBatch( $triplets, $flags = 0 ) {
11 return false;
14 function storeTemp( $originalName, $srcPath ) {
15 return false;
17 function publishBatch( $triplets, $flags = 0 ) {
18 return false;
20 function deleteBatch( $sourceDestPairs ) {
21 return false;
23 function getFileProps( $virtualUrl ) {
24 return false;
26 function newFile( $title, $time = false ) {
27 return false;
29 function findFile( $title, $time = false ) {
30 return false;