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
Merge "Special:RC filter: userExpLevel"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
FileRepo.php
diff --git
a/includes/filerepo/FileRepo.php
b/includes/filerepo/FileRepo.php
index
41f5281
..
0e4b2f0
100644
(file)
--- a/
includes/filerepo/FileRepo.php
+++ b/
includes/filerepo/FileRepo.php
@@
-1059,7
+1059,7
@@
class FileRepo {
/**
* Pick a random name in the temp zone and store a file to it.
/**
* Pick a random name in the temp zone and store a file to it.
- * Returns a
FileRepo
Status object with the file Virtual URL in the value,
+ * Returns a Status object with the file Virtual URL in the value,
* file can later be disposed using FileRepo::freeTemp().
*
* @param string $originalName The base name of the file as specified
* file can later be disposed using FileRepo::freeTemp().
*
* @param string $originalName The base name of the file as specified
@@
-1143,7
+1143,7
@@
class FileRepo {
* Copy or move a file either from a storage path, virtual URL,
* or file system path, into this repository at the specified destination location.
*
* Copy or move a file either from a storage path, virtual URL,
* or file system path, into this repository at the specified destination location.
*
- * Returns a
FileRepo
Status object. On success, the value contains "new" or
+ * Returns a Status object. On success, the value contains "new" or
* "archived", to indicate whether the file was new with that name.
*
* Options to $options include:
* "archived", to indicate whether the file was new with that name.
*
* Options to $options include:
@@
-1924,12
+1924,3
@@
class FileRepo {
return $this->supportsSha1URLs;
}
}
return $this->supportsSha1URLs;
}
}
-
-/**
- * FileRepo for temporary files created via FileRepo::getTempRepo()
- */
-class TempFileRepo extends FileRepo {
- public function getTempRepo() {
- throw new MWException( "Cannot get a temp repo from a temp repo." );
- }
-}