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 "Localisation updates from https://translatewiki.net."
[lhc/web/wiklou.git]
/
includes
/
auth
/
AuthManagerAuthPlugin.php
diff --git
a/includes/auth/AuthManagerAuthPlugin.php
b/includes/auth/AuthManagerAuthPlugin.php
index
01d992f
..
008639c
100644
(file)
--- a/
includes/auth/AuthManagerAuthPlugin.php
+++ b/
includes/auth/AuthManagerAuthPlugin.php
@@
-79,11
+79,7
@@
class AuthManagerAuthPlugin extends \AuthPlugin {
}
public function getDomain() {
- if ( isset( $this->domain ) ) {
- return $this->domain;
- } else {
- return 'invaliddomain';
- }
+ return $this->domain ?? 'invaliddomain';
}
public function validDomain( $domain ) {