X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUserrights.php;h=be110aa9ccef19015ea23a71e2fe78c52cf6badc;hb=c3294b2d7142987c0ae93ce71737fdb02550e28e;hp=740f2f7e36a2877fea509acfdf2da1069b6e6b2f;hpb=a1bf5109f122fc3928d834141558e25a08a989ab;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index 740f2f7e36..be110aa9cc 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -417,28 +417,18 @@ class UserrightsPage extends SpecialPage { return Status::newGood( $user ); } - function makeGroupNameList( $ids ) { - if ( empty( $ids ) ) { - return $this->msg( 'rightsnone' )->inContentLanguage()->text(); - } else { - return implode( ', ', $ids ); - } - } - /** - * Make a list of group names to be stored as parameter for log entries + * @since 1.15 * - * @deprecated since 1.21; use LogFormatter instead. * @param array $ids + * * @return string */ - function makeGroupNameListForLog( $ids ) { - wfDeprecated( __METHOD__, '1.21' ); - + public function makeGroupNameList( $ids ) { if ( empty( $ids ) ) { - return ''; + return $this->msg( 'rightsnone' )->inContentLanguage()->text(); } else { - return $this->makeGroupNameList( $ids ); + return implode( ', ', $ids ); } }