http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90747
Revision: 90747
Author: nelson
Date: 2011-06-25 01:43:24 +0000 (Sat, 25 Jun 2011)
Log Message:
-----------
getPath() does the wrong thing under SwiftMedia, but getRel() works for
everything.
Modified Paths:
--------------
trunk/phase3/includes/filerepo/LocalFile.php
Modified: trunk/phase3/includes/filerepo/LocalFile.php
===================================================================
--- trunk/phase3/includes/filerepo/LocalFile.php 2011-06-25 01:41:30 UTC
(rev 90746)
+++ trunk/phase3/includes/filerepo/LocalFile.php 2011-06-25 01:43:24 UTC
(rev 90747)
@@ -889,7 +889,7 @@
# 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;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs