Index: trunk/phase3/includes/specials/SpecialUpload.php |
— | — | @@ -432,7 +432,10 @@ |
433 | 433 | // Deprecated backwards compatibility hook |
434 | 434 | if( !wfRunHooks( 'UploadForm:BeforeProcessing', array( &$this ) ) ) { |
435 | 435 | wfDebug( "Hook 'UploadForm:BeforeProcessing' broke processing the file.\n" ); |
436 | | - return array( 'status' => UploadBase::BEFORE_PROCESSING ); |
| 436 | + // Return without notifying the user of an error. This sucks, but |
| 437 | + // this was the previous behaviour as well, and as this hook is |
| 438 | + // deprecated we're not going to do anything about it. |
| 439 | + return; |
437 | 440 | } |
438 | 441 | |
439 | 442 | |