Index: trunk/extensions/ConfirmAccount/RequestAccount_body.php |
— | — | @@ -479,7 +479,7 @@ |
480 | 480 | |
481 | 481 | wfDebug ( "\n\nmime: <$mime> extension: <$extension>\n\n" ); |
482 | 482 | # check mime type against file extension |
483 | | - if ( !UploadBase::verifyExtension( $mime, $extension ) ) { |
| 483 | + if ( !UploadForm::verifyExtension( $mime, $extension ) ) { |
484 | 484 | return new WikiErrorMsg( 'uploadcorrupt' ); |
485 | 485 | } |
486 | 486 | |