Index: branches/phase3_rev_deleted/includes/ImagePage.php |
— | — | @@ -542,7 +542,7 @@ |
543 | 543 | # Deleting old images doesn't require confirmation |
544 | 544 | if ( !is_null( $oldimage ) || $confirm ) { |
545 | 545 | if( $wgUser->matchEditToken( $wgRequest->getVal( 'wpEditToken' ), $oldimage ) ) { |
546 | | - $this->doDeleteImage( $reason ); |
| 546 | + $this->doDeleteImage( $reason, $suppress ); |
547 | 547 | } else { |
548 | 548 | $wgOut->showFatalError( wfMsg( 'sessionfailure' ) ); |
549 | 549 | } |
— | — | @@ -566,7 +566,7 @@ |
567 | 567 | * |
568 | 568 | * @param $reason User provided reason for deletion. |
569 | 569 | */ |
570 | | - function doDeleteImage( $reason ) { |
| 570 | + function doDeleteImage( $reason, $suppress = false ) { |
571 | 571 | global $wgOut, $wgRequest; |
572 | 572 | |
573 | 573 | $oldimage = $wgRequest->getVal( 'oldimage' ); |