Index: trunk/extensions/CentralAuth/SpecialCentralAuth.php |
— | — | @@ -134,23 +134,21 @@ |
135 | 135 | $wgOut->addHTML( $wgOut->parse( $wrap, /*linestart*/true, /*uilang*/true ) ); |
136 | 136 | } |
137 | 137 | |
138 | | - function showError( $message /* varargs */ ) { |
| 138 | + function showError( /* varargs */ ) { |
139 | 139 | $args = func_get_args(); |
140 | | - array_shift( $args ); // remove first |
141 | | - $args = array_values( $args ); |
142 | 140 | |
143 | 141 | global $wgOut; |
144 | | - $wgOut->wrapWikiMsg( '<div class="error">$1</div>', $message, $args ); |
| 142 | + $wgOut->wrapWikiMsg( '<div class="error">$1</div>', $args ); |
145 | 143 | } |
146 | 144 | |
147 | 145 | |
148 | | - function showSuccess( $message /* varargs */ ) { |
| 146 | + function showSuccess( /* varargs */ ) { |
149 | 147 | $args = func_get_args(); |
150 | 148 | array_shift( $args ); // remove first |
151 | 149 | $args = array_values( $args ); |
152 | 150 | |
153 | 151 | global $wgOut; |
154 | | - $wgOut->wrapWikiMsg( '<div class="success">$1</div>', $message, $args ); |
| 152 | + $wgOut->wrapWikiMsg( '<div class="success">$1</div>', $args ); |
155 | 153 | } |
156 | 154 | |
157 | 155 | function showUsernameForm() { |