Index: trunk/extensions/Contest/specials/SpecialContestSignup.php |
— | — | @@ -178,7 +178,7 @@ |
179 | 179 | $form->setSubmitText( wfMsg( 'contest-signup-submit' ) ); |
180 | 180 | |
181 | 181 | if( $form->show() ) { |
182 | | - $this->showSuccess( $contest ); |
| 182 | + $this->onSuccess( $contest ); |
183 | 183 | } |
184 | 184 | else { |
185 | 185 | $this->getOutput()->addModules( 'contest.special.signup' ); |
— | — | @@ -201,7 +201,7 @@ |
202 | 202 | * |
203 | 203 | * @param Contest $contest |
204 | 204 | */ |
205 | | - protected function showSuccess( Contest $contest ) { |
| 205 | + protected function onSuccess( Contest $contest ) { |
206 | 206 | $url = SpecialPage::getTitleFor( 'MyContests', $contest->getField( 'name' ) )->getLocalURL( 'new' ); |
207 | 207 | $this->getOutput()->redirect( $url ); |
208 | 208 | } |