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 "Improvements to RefreshLinksJob/DeleteLinksJob locking"
[lhc/web/wiklou.git]
/
includes
/
deferred
/
DataUpdate.php
diff --git
a/includes/deferred/DataUpdate.php
b/includes/deferred/DataUpdate.php
index
cb57140
..
2865461
100644
(file)
--- a/
includes/deferred/DataUpdate.php
+++ b/
includes/deferred/DataUpdate.php
@@
-84,7
+84,7
@@
abstract class DataUpdate implements DeferrableUpdate {
return; // nothing to do
}
return; // nothing to do
}
- $open_transactions =
array()
;
+ $open_transactions =
[]
;
$exception = null;
try {
$exception = null;
try {
@@
-130,7
+130,7
@@
abstract class DataUpdate implements DeferrableUpdate {
* @since 1.27
*/
protected static function enqueueUpdates( array $updates ) {
* @since 1.27
*/
protected static function enqueueUpdates( array $updates ) {
- $remaining =
array()
;
+ $remaining =
[]
;
foreach ( $updates as $update ) {
if ( $update instanceof EnqueueableDataUpdate ) {
foreach ( $updates as $update ) {
if ( $update instanceof EnqueueableDataUpdate ) {