Fix bug that brakes the 'jquery.tabIndex > firstTabIndex' test in IE8/IE9. Some value...
[mediawiki.git] / includes / filerepo / NullRepo.php
blobcac3e5d8e53032f00faf0e73535e4783704f5366
1 <?php
2 /**
3 * File repository with no files.
5 * @file
6 * @ingroup FileRepo
7 */
9 /**
10 * File repository with no files, for performance testing
11 * @ingroup FileRepo
13 class NullRepo extends FileRepo {
14 function __construct( $info ) {}
16 function storeBatch( $triplets, $flags = 0 ) {
17 return false;
20 function storeTemp( $originalName, $srcPath ) {
21 return false;
23 function append( $srcPath, $toAppendPath, $flags = 0 ){
24 return false;
26 function appendFinish( $toAppendPath ){
27 return false;
29 function publishBatch( $triplets, $flags = 0 ) {
30 return false;
32 function deleteBatch( $sourceDestPairs ) {
33 return false;
35 function fileExistsBatch( $files, $flags = 0 ) {
36 return false;
38 function getFileProps( $virtualUrl ) {
39 return false;
41 function newFile( $title, $time = false ) {
42 return false;
44 function findFile( $title, $options = array() ) {
45 return false;