[FileBackend] Fixed parallelize check in doQuickOperationsInternal().
authorAaron <aschulz@wikimedia.org>
Thu, 17 May 2012 23:17:01 +0000 (16:17 -0700)
committerAaron <aschulz@wikimedia.org>
Thu, 17 May 2012 23:17:01 +0000 (16:17 -0700)
Change-Id: Ia552a5094e61f418bc3fa8958f1a4869018be536

includes/filerepo/backend/FileBackendStore.php

index 5537e93..8593423 100644 (file)
@@ -945,7 +945,7 @@ abstract class FileBackendStore extends FileBackend {
        final protected function doQuickOperationsInternal( array $ops ) {
                $status = Status::newGood();
 
-               $async = $this->parallelize;
+               $async = ( $this->parallelize === 'implicit' );
                $maxConcurrency = $this->concurrency; // throttle
 
                $statuses = array(); // array of (index => Status)