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 "RCFilters: rephrase newcomers description"
[lhc/web/wiklou.git]
/
maintenance
/
reassignEdits.php
diff --git
a/maintenance/reassignEdits.php
b/maintenance/reassignEdits.php
index
4d3baaf
..
7a0e4fc
100644
(file)
--- a/
maintenance/reassignEdits.php
+++ b/
maintenance/reassignEdits.php
@@
-155,8
+155,8
@@
class ReassignEdits extends Maintenance {
*/
private function userConditions( &$user, $idfield, $utfield ) {
return $user->getId()
*/
private function userConditions( &$user, $idfield, $utfield ) {
return $user->getId()
- ?
array( $idfield => $user->getId() )
- :
array( $utfield => $user->getName() )
;
+ ?
[ $idfield => $user->getId() ]
+ :
[ $utfield => $user->getName() ]
;
}
/**
}
/**
@@
-169,7
+169,7
@@
class ReassignEdits extends Maintenance {
* @return array
*/
private function userSpecification( &$user, $idfield, $utfield ) {
* @return array
*/
private function userSpecification( &$user, $idfield, $utfield ) {
- return
array( $idfield => $user->getId(), $utfield => $user->getName() )
;
+ return
[ $idfield => $user->getId(), $utfield => $user->getName() ]
;
}
/**
}
/**