X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2Flibs%2Ffilebackend%2FFileBackendMultiWrite.php;h=f8ca7e5aef30236f419fe55a4d1425d449a936ea;hb=82e2c924e473fa3b99bb8e0da71d99b70ec5ca07;hp=53bce33daddd894c97585c133d4d7fcfbbeac367;hpb=bdfa96eb726c9997a010f5a194eec71925bfddc2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/filebackend/FileBackendMultiWrite.php b/includes/libs/filebackend/FileBackendMultiWrite.php index 53bce33dad..f8ca7e5aef 100644 --- a/includes/libs/filebackend/FileBackendMultiWrite.php +++ b/includes/libs/filebackend/FileBackendMultiWrite.php @@ -19,7 +19,6 @@ * * @file * @ingroup FileBackend - * @author Aaron Schulz */ /** @@ -196,7 +195,7 @@ class FileBackendMultiWrite extends FileBackend { if ( $this->asyncWrites && !$this->hasVolatileSources( $ops ) ) { // Bind $scopeLock to the callback to preserve locks DeferredUpdates::addCallableUpdate( - function() use ( $backend, $realOps, $opts, $scopeLock, $relevantPaths ) { + function () use ( $backend, $realOps, $opts, $scopeLock, $relevantPaths ) { wfDebugLog( 'FileOperationReplication', "'{$backend->getName()}' async replication; paths: " . FormatJson::encode( $relevantPaths ) ); @@ -508,7 +507,7 @@ class FileBackendMultiWrite extends FileBackend { $realOps = $this->substOpBatchPaths( $ops, $backend ); if ( $this->asyncWrites && !$this->hasVolatileSources( $ops ) ) { DeferredUpdates::addCallableUpdate( - function() use ( $backend, $realOps ) { + function () use ( $backend, $realOps ) { $backend->doQuickOperations( $realOps ); } ); @@ -562,7 +561,7 @@ class FileBackendMultiWrite extends FileBackend { $realParams = $this->substOpPaths( $params, $backend ); if ( $this->asyncWrites ) { DeferredUpdates::addCallableUpdate( - function() use ( $backend, $method, $realParams ) { + function () use ( $backend, $method, $realParams ) { $backend->$method( $realParams ); } );