RELEASE-NOTES-1.19 for r103706, r103708
[lhc/web/wiklou.git] / includes / filerepo / NullRepo.php
index e507893..cac3e5d 100644 (file)
@@ -1,9 +1,15 @@
 <?php
+/**
+ * File repository with no files.
+ *
+ * @file
+ * @ingroup FileRepo
+ */
 
 /**
  * File repository with no files, for performance testing
+ * @ingroup FileRepo
  */
-
 class NullRepo extends FileRepo {
        function __construct( $info ) {}
 
@@ -14,19 +20,28 @@ class NullRepo extends FileRepo {
        function storeTemp( $originalName, $srcPath ) {
                return false;
        }
+       function append( $srcPath, $toAppendPath, $flags = 0 ){
+               return false;
+       }
+       function appendFinish( $toAppendPath ){
+               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;
        }
 }