dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "DumpUploads: output local path instead of mwstore path"
[lhc/web/wiklou.git]
/
includes
/
utils
/
BatchRowUpdate.php
diff --git
a/includes/utils/BatchRowUpdate.php
b/includes/utils/BatchRowUpdate.php
index
e739be3
..
549ad41
100644
(file)
--- a/
includes/utils/BatchRowUpdate.php
+++ b/
includes/utils/BatchRowUpdate.php
@@
-86,14
+86,14
@@
class BatchRowUpdate {
*/
public function execute() {
foreach ( $this->reader as $rows ) {
*/
public function execute() {
foreach ( $this->reader as $rows ) {
- $updates =
array()
;
+ $updates =
[]
;
foreach ( $rows as $row ) {
$update = $this->generator->update( $row );
if ( $update ) {
foreach ( $rows as $row ) {
$update = $this->generator->update( $row );
if ( $update ) {
- $updates[] =
array(
+ $updates[] =
[
'primaryKey' => $this->reader->extractPrimaryKeys( $row ),
'changes' => $update,
'primaryKey' => $this->reader->extractPrimaryKeys( $row ),
'changes' => $update,
-
)
;
+
]
;
}
}
}
}