dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RELEASE-NOTES-1.19 for r103706, r103708
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
NullRepo.php
diff --git
a/includes/filerepo/NullRepo.php
b/includes/filerepo/NullRepo.php
index
0b5b644
..
cac3e5d
100644
(file)
--- a/
includes/filerepo/NullRepo.php
+++ b/
includes/filerepo/NullRepo.php
@@
-1,4
+1,10
@@
<?php
<?php
+/**
+ * File repository with no files.
+ *
+ * @file
+ * @ingroup FileRepo
+ */
/**
* File repository with no files, for performance testing
/**
* File repository with no files, for performance testing
@@
-14,6
+20,12
@@
class NullRepo extends FileRepo {
function storeTemp( $originalName, $srcPath ) {
return false;
}
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 publishBatch( $triplets, $flags = 0 ) {
return false;
}
@@
-29,7
+41,7
@@
class NullRepo extends FileRepo {
function newFile( $title, $time = false ) {
return false;
}
function newFile( $title, $time = false ) {
return false;
}
- function findFile( $title, $
time = false
) {
+ function findFile( $title, $
options = array()
) {
return false;
}
}
return false;
}
}