From 29da1ff8d4e70f81c401730117a832a1238399dc Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 3 Oct 2009 18:28:36 +0000 Subject: cleaned up the names of ImageMagick functions --- actions/upload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/upload.php') diff --git a/actions/upload.php b/actions/upload.php index 209d8e17d..228253ddd 100644 --- a/actions/upload.php +++ b/actions/upload.php @@ -164,11 +164,11 @@ // resize photos to create thumbnails if ($image_lib == 'ImageMagick') { // ImageMagick command line - if (tp_create_imagick_cmdline_thumbnails($file, $prefix, $filestorename) != true) { + if (tp_create_im_cmdline_thumbnails($file, $prefix, $filestorename) != true) { trigger_error('Tidypics warning: failed to create thumbnails - ImageMagick command line', E_USER_WARNING); } - } else if ($image_lib == 'ImageMagickPHP') { // ImageMagick PHP + } else if ($image_lib == 'ImageMagickPHP') { // imagick php extension if (tp_create_imagick_thumbnails($file, $prefix, $filestorename) != true) { trigger_error('Tidypics warning: failed to create thumbnails - ImageMagick PHP', E_USER_WARNING); -- cgit v1.2.3