X-Git-Url: https://projects.mako.cc/source/editimage_extension/blobdiff_plain/a551c8fbc9b821de4d8d397ac2fc96a3d64d9ff8..d3cfbfee8f03382cea603136c417768d7f9fb177:/EditImage_body.php diff --git a/EditImage_body.php b/EditImage_body.php index e08de0b..6315b85 100644 --- a/EditImage_body.php +++ b/EditImage_body.php @@ -24,8 +24,6 @@ function resizeImage ( $srcpath, $x1, $y1, $x2, $y2) { ' -coalesce ' . " -crop {$w}x{$h}+$x1+$y1! " . wfescapeshellarg($dstpath) . " 2>&1"; - global $wgOut; - $wgOut->addHTML($cmd); wfDebug( __METHOD__.": running ImageMagick: $cmd\n"); wfProfileIn( 'convert' ); $err = wfShellExec( $cmd, $retval );