From d9ec1883e3fe64fca5f3a1957089ac155e5123b3 Mon Sep 17 00:00:00 2001 From: Jan Gerber Date: Fri, 23 Dec 2011 09:30:02 +0000 Subject: [PATCH] Use getPath, all operations are on filerepo level no need to get a local path. Follow up r107064 --- includes/upload/UploadFromChunks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1