From: Russ Nelson Date: Sat, 25 Jun 2011 01:43:24 +0000 (+0000) Subject: getPath() does the wrong thing under SwiftMedia, but getRel() works for everything. X-Git-Tag: 1.31.0-rc.0~29297 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=331c496aadce9c5cfb0de602e76c66770fc024ae;p=lhc%2Fweb%2Fwiklou.git getPath() does the wrong thing under SwiftMedia, but getRel() works for everything. --- diff --git a/includes/filerepo/LocalFile.php b/includes/filerepo/LocalFile.php index a278d788ae..3a6666a5be 100644 --- a/includes/filerepo/LocalFile.php +++ b/includes/filerepo/LocalFile.php @@ -889,7 +889,7 @@ class LocalFile extends File { # Fail now if the file isn't there if ( !$this->fileExists ) { - wfDebug( __METHOD__ . ": File " . $this->getPath() . " went missing!\n" ); + wfDebug( __METHOD__ . ": File " . $this->getRel() . " went missing!\n" ); return false; }