get rid of a warning

git-svn-id: file:///home/shish/svn/shimmie2/trunk@38 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-05-01 08:35:48 +00:00
parent 8b4feceb63
commit 0eb5a5e6bb

View file

@ -37,7 +37,7 @@ class RegenThumb extends Extension {
switch($program) { switch($program) {
case 'convert': case 'convert':
unlink($f_thumb); if(file_exists($f_thumb)) unlink($f_thumb);
exec("convert $f_image -geometry {$w}x{$h} -quality {$q} $f_thumb"); exec("convert $f_image -geometry {$w}x{$h} -quality {$q} $f_thumb");
break; break;
case 'gd': case 'gd':