]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/filerepo/NullRepo.php
MediaWiki 1.17.0
[autoinstallsdev/mediawiki.git] / includes / filerepo / NullRepo.php
index fb89cebb5f703b797c7664eb530406e28ad0c954..d5a1ee03dbef8bdc87c7b5de88fca63bcbfe8925 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+/**
+ * File repository with no files.
+ *
+ * @file
+ * @ingroup FileRepo
+ */
 
 /**
  * File repository with no files, for performance testing
@@ -14,19 +20,25 @@ class NullRepo extends FileRepo {
        function storeTemp( $originalName, $srcPath ) {
                return false;
        }
+       function append( $srcPath, $toAppendPath, $flags = 0 ){
+               return false;
+       }
        function publishBatch( $triplets, $flags = 0 ) {
                return false;
        }
        function deleteBatch( $sourceDestPairs ) {
                return false;
        }
+       function fileExistsBatch( $files, $flags = 0 ) {
+               return false;
+       }
        function getFileProps( $virtualUrl ) {
                return false;
        }
        function newFile( $title, $time = false ) {
                return false;
        }
-       function findFile( $title, $time = false ) {
+       function findFile( $title, $options = array() ) {
                return false;
        }
 }