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 "Replace infobox usages and extend successbox, warningbox and errorbox"
[lhc/web/wiklou.git]
/
maintenance
/
storage
/
fixT22757.php
diff --git
a/maintenance/storage/fixT22757.php
b/maintenance/storage/fixT22757.php
index
6bc2f98
..
61f1177
100644
(file)
--- a/
maintenance/storage/fixT22757.php
+++ b/
maintenance/storage/fixT22757.php
@@
-255,11
+255,7
@@
class FixT22757 extends Maintenance {
function findTextIdInPage( $pageId, $textId ) {
$ids = $this->getRevTextMap( $pageId );
- if ( !isset( $ids[$textId] ) ) {
- return null;
- } else {
- return $ids[$textId];
- }
+ return $ids[$textId] ?? null;
}
function getRevTextMap( $pageId ) {