aboutsummaryrefslogtreecommitdiffstats
path: root/includes/filebackend/FileOp.php
diff options
context:
space:
mode:
authorumherirrender <umherirrender_de.wp@web.de>2013-04-20 19:18:13 +0200
committerumherirrender <umherirrender_de.wp@web.de>2013-04-20 19:18:13 +0200
commit1bfc8feb25b564cc35ae1142271518a0c964f98d (patch)
tree2f5ee85a8a66e1048ea5b4c8cc3257cdf9446a98 /includes/filebackend/FileOp.php
parent35572ce19e2b68887b95c481f01c9db64c0dfb59 (diff)
downloadmediawikicore-1bfc8feb25b564cc35ae1142271518a0c964f98d.tar.gz
mediawikicore-1bfc8feb25b564cc35ae1142271518a0c964f98d.zip
Fixed spacing in actions/cache/filebackend/filerepo/job folder
Added spaces before if, foreach Added some braces for one line statements Change-Id: Idb93d34e314e5f314223b79208968d6bcd30c40e
Diffstat (limited to 'includes/filebackend/FileOp.php')
-rw-r--r--includes/filebackend/FileOp.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/includes/filebackend/FileOp.php b/includes/filebackend/FileOp.php
index 62e9fbada6e3..80afcf226e43 100644
--- a/includes/filebackend/FileOp.php
+++ b/includes/filebackend/FileOp.php
@@ -212,22 +212,22 @@ abstract class FileOp {
$pathsUsed = array_merge( $this->storagePathsRead(), $this->storagePathsChanged() );
foreach ( array_unique( $pathsUsed ) as $path ) {
$nullEntries[] = array( // assertion for recovery
- 'op' => 'null',
- 'path' => $path,
+ 'op' => 'null',
+ 'path' => $path,
'newSha1' => $this->fileSha1( $path, $oPredicates )
);
}
foreach ( $this->storagePathsChanged() as $path ) {
if ( $nPredicates['sha1'][$path] === false ) { // deleted
$deleteEntries[] = array(
- 'op' => 'delete',
- 'path' => $path,
+ 'op' => 'delete',
+ 'path' => $path,
'newSha1' => ''
);
} else { // created/updated
$updateEntries[] = array(
- 'op' => $this->fileExists( $path, $oPredicates ) ? 'update' : 'create',
- 'path' => $path,
+ 'op' => $this->fileExists( $path, $oPredicates ) ? 'update' : 'create',
+ 'path' => $path,
'newSha1' => $nPredicates['sha1'][$path]
);
}