projects
/
editimage_extension
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a551c8f
)
removed debug code
author
<mako@atdot.cc>
<>
Mon, 11 Aug 2008 19:12:27 +0000
(15:12 -0400)
committer
<mako@atdot.cc>
<>
Mon, 11 Aug 2008 19:12:27 +0000
(15:12 -0400)
EditImage_body.php
patch
|
blob
|
history
diff --git
a/EditImage_body.php
b/EditImage_body.php
index e08de0b51f466b8c99be0bb451ff68c0694fffbb..6315b85a07c84ebbc8746f3d29153b015cad0403 100644
(file)
--- 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 );
Benjamin Mako Hill
||
Want to submit a patch?