X-Git-Url: http://git.cyclocoop.org/%28?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialLinkAccounts.php;h=d4ef9369c925b9a9012c3822d0876a8f65412e8b;hb=d5ed0163f25d0bb42c33b612021154daae9396af;hp=da10b90b91add1e7668ae1261004b2463a90485e;hpb=cdc53ad15b8131e1b4254cc788efa318a35fd804;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialLinkAccounts.php b/includes/specials/SpecialLinkAccounts.php index da10b90b91..d4ef9369c9 100644 --- a/includes/specials/SpecialLinkAccounts.php +++ b/includes/specials/SpecialLinkAccounts.php @@ -42,8 +42,8 @@ class SpecialLinkAccounts extends AuthManagerSpecialPage { if ( !$this->isActionAllowed( $this->authAction ) ) { if ( $this->authAction === AuthManager::ACTION_LINK ) { // looks like no linking provider is installed or willing to take this user - $titleMessage = wfMessage( 'cannotlink-no-provider-title' ); - $errorMessage = wfMessage( 'cannotlink-no-provider' ); + $titleMessage = $this->msg( 'cannotlink-no-provider-title' ); + $errorMessage = $this->msg( 'cannotlink-no-provider' ); throw new ErrorPageError( $titleMessage, $errorMessage ); } else { // user probably back-button-navigated into an auth session that no longer exists