Clarify FileRepo::concatenate() docs a bit
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 4 Mar 2016 20:05:12 +0000 (12:05 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 4 Mar 2016 20:05:12 +0000 (12:05 -0800)
Change-Id: I6d978a7e6c8a3671192c346eaef590aa3033cf99

includes/filerepo/FileRepo.php
includes/upload/UploadFromChunks.php

index 789803f..f3c2abf 100644 (file)
@@ -1115,7 +1115,7 @@ class FileRepo {
         * @param array $srcPaths Ordered list of source virtual URLs/storage paths
         * @param string $dstPath Target file system path
         * @param int $flags Bitwise combination of the following flags:
-        *   self::DELETE_SOURCE     Delete the source files
+        *   self::DELETE_SOURCE     Delete the source files on success
         * @return FileRepoStatus
         */
        public function concatenate( array $srcPaths, $dstPath, $flags = 0 ) {
index d82a9e6..8ee0845 100644 (file)
@@ -145,6 +145,7 @@ class UploadFromChunks extends UploadFromFile {
                if ( !$status->isOk() ) {
                        return $status;
                }
+
                wfDebugLog( 'fileconcatenate', "Combined $i chunks in $tAmount seconds." );
 
                // File system path