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 "Revert "RedirectSpecialPage: handle interwiki redirects.""
[lhc/web/wiklou.git]
/
includes
/
site
/
HashSiteStore.php
diff --git
a/includes/site/HashSiteStore.php
b/includes/site/HashSiteStore.php
index
6d98e72
..
f0a6e54
100644
(file)
--- a/
includes/site/HashSiteStore.php
+++ b/
includes/site/HashSiteStore.php
@@
-87,11
+87,7
@@
class HashSiteStore implements SiteStore {
* @return Site|null
*/
public function getSite( $globalId, $source = 'cache' ) {
- if ( isset( $this->sites[$globalId] ) ) {
- return $this->sites[$globalId];
- } else {
- return null;
- }
+ return $this->sites[$globalId] ?? null;
}
/**