https://www.mediawiki.org/wiki/Special:Code/MediaWiki/107144

Revision: 107144
Author:   j
Date:     2011-12-23 09:30:02 +0000 (Fri, 23 Dec 2011)
Log Message:
-----------
Use getPath, all operations are on filerepo level no need to get a local path. 
Follow up r107064

Modified Paths:
--------------
    trunk/phase3/includes/upload/UploadFromChunks.php

Modified: trunk/phase3/includes/upload/UploadFromChunks.php
===================================================================
--- trunk/phase3/includes/upload/UploadFromChunks.php   2011-12-23 09:26:54 UTC 
(rev 107143)
+++ trunk/phase3/includes/upload/UploadFromChunks.php   2011-12-23 09:30:02 UTC 
(rev 107144)
@@ -56,7 +56,7 @@
                $this->mFileKey = $this->mLocalFile->getFileKey();
 
                // Output a copy of this first to chunk 0 location:
-               $status = $this->outputChunk( 
$this->mLocalFile->getLocalRefPath() );
+               $status = $this->outputChunk( $this->mLocalFile->getPath() );
                
                // Update db table to reflect initial "chunk" state 
                $this->updateChunkStatus();


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to