Fill-in missing implementations of abstract function appendFinish()
[lhc/web/wiklou.git] / includes / filerepo / NullRepo.php
1 <?php
2 /**
3 * File repository with no files.
4 *
5 * @file
6 * @ingroup FileRepo
7 */
8
9 /**
10 * File repository with no files, for performance testing
11 * @ingroup FileRepo
12 */
13 class NullRepo extends FileRepo {
14 function __construct( $info ) {}
15
16 function storeBatch( $triplets, $flags = 0 ) {
17 return false;
18 }
19
20 function storeTemp( $originalName, $srcPath ) {
21 return false;
22 }
23 function append( $srcPath, $toAppendPath, $flags = 0 ){
24 return false;
25 }
26 function appendFinish( $toAppendPath ){
27 return false;
28 }
29 function publishBatch( $triplets, $flags = 0 ) {
30 return false;
31 }
32 function deleteBatch( $sourceDestPairs ) {
33 return false;
34 }
35 function fileExistsBatch( $files, $flags = 0 ) {
36 return false;
37 }
38 function getFileProps( $virtualUrl ) {
39 return false;
40 }
41 function newFile( $title, $time = false ) {
42 return false;
43 }
44 function findFile( $title, $options = array() ) {
45 return false;
46 }
47 }