From: Jan Gerber Date: Fri, 23 Dec 2011 09:30:02 +0000 (+0000) Subject: Use getPath, all operations are on filerepo level no need to get a local path. Follow... X-Git-Tag: 1.31.0-rc.0~25792 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=d9ec1883e3fe64fca5f3a1957089ac155e5123b3;p=lhc%2Fweb%2Fwiklou.git Use getPath, all operations are on filerepo level no need to get a local path. Follow up r107064 --- diff --git a/includes/upload/UploadFromChunks.php b/includes/upload/UploadFromChunks.php index 1bc7e85afe..3a5f8099be 100644 --- a/includes/upload/UploadFromChunks.php +++ b/includes/upload/UploadFromChunks.php @@ -56,7 +56,7 @@ class UploadFromChunks extends UploadFromFile { $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();