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
GlobalFunctions: Remove deprecated wfCountDown() function from core
[lhc/web/wiklou.git]
/
includes
/
ActorMigration.php
diff --git
a/includes/ActorMigration.php
b/includes/ActorMigration.php
index
0c33eb9
..
597b8e7
100644
(file)
--- a/
includes/ActorMigration.php
+++ b/
includes/ActorMigration.php
@@
-136,11
+136,7
@@
class ActorMigration {
* @return string[] [ $text, $actor ]
*/
private static function getFieldNames( $key ) {
* @return string[] [ $text, $actor ]
*/
private static function getFieldNames( $key ) {
- if ( isset( self::$specialFields[$key] ) ) {
- return self::$specialFields[$key];
- }
-
- return [ $key . '_text', substr( $key, 0, -5 ) . '_actor' ];
+ return self::$specialFields[$key] ?? [ $key . '_text', substr( $key, 0, -5 ) . '_actor' ];
}
/**
}
/**