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 "Refactor UploadBase::checkWarnings into smaller methods"
[lhc/web/wiklou.git]
/
includes
/
user
/
UserGroupMembership.php
diff --git
a/includes/user/UserGroupMembership.php
b/includes/user/UserGroupMembership.php
index
cf05df3
..
a06be83
100644
(file)
--- a/
includes/user/UserGroupMembership.php
+++ b/
includes/user/UserGroupMembership.php
@@
-344,8
+344,8
@@
class UserGroupMembership {
* @return string
*/
public static function getLink( $ugm, IContextSource $context, $format,
* @return string
*/
public static function getLink( $ugm, IContextSource $context, $format,
- $userName = null
) {
-
+ $userName = null
+ ) {
if ( $format !== 'wiki' && $format !== 'html' ) {
throw new MWException( 'UserGroupMembership::getLink() $format parameter should be ' .
"'wiki' or 'html'" );
if ( $format !== 'wiki' && $format !== 'html' ) {
throw new MWException( 'UserGroupMembership::getLink() $format parameter should be ' .
"'wiki' or 'html'" );