Index: branches/wmf-deployment/extensions/ReaderFeedback/specialpages/RatingHistory_body.php |
— | — | @@ -491,16 +491,15 @@ |
492 | 492 | $svgHandler = new SvgHandler(); |
493 | 493 | wfSuppressWarnings(); // FS notices possible |
494 | 494 | if( !file_put_contents( $svgPath, $plot->svg ) ) { |
495 | | - throw new MWException( 'Could not write SVG file!' ); |
496 | 495 | wfRestoreWarnings(); |
497 | | - return false; |
| 496 | + throw new MWException( 'Could not write SVG file!' ); |
498 | 497 | } |
499 | 498 | wfRestoreWarnings(); |
500 | 499 | // Rasterize due to IE suckage |
501 | 500 | $status = $svgHandler->rasterize( $svgPath, $filePath, 1000, 410 ); |
502 | 501 | if( $status !== true ) { |
503 | 502 | wfDebug( 'Could not rasterize SVG file from '.$filePath.'!' ); |
504 | | - return false; |
| 503 | + //return false; |
505 | 504 | } |
506 | 505 | return true; |
507 | 506 | } |