dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4c840
)
Likely that nobody is calling getPath() on a ForeignAPI repo, but best to warn them...
author
Russ Nelson
<nelson@users.mediawiki.org>
Wed, 4 May 2011 23:17:00 +0000
(23:17 +0000)
committer
Russ Nelson
<nelson@users.mediawiki.org>
Wed, 4 May 2011 23:17:00 +0000
(23:17 +0000)
includes/filerepo/File.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/File.php
b/includes/filerepo/File.php
index
c8b1cde
..
5d51e4c
100644
(file)
--- a/
includes/filerepo/File.php
+++ b/
includes/filerepo/File.php
@@
-229,6
+229,8
@@
abstract class File {
* i.e. whether the files are all found in the same directory,
* or in hashed paths like /images/3/3c.
*
+ * Most callers don't check the return value, but ForeignAPIFile::getPath
+ * returns false.
*/
public function getPath() {
if ( !isset( $this->path ) ) {