From 331c496aadce9c5cfb0de602e76c66770fc024ae Mon Sep 17 00:00:00 2001 From: Russ Nelson Date: Sat, 25 Jun 2011 01:43:24 +0000 Subject: [PATCH] getPath() does the wrong thing under SwiftMedia, but getRel() works for everything. --- includes/filerepo/LocalFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1