From 2784b6a89ccdf3f3f6004cc65e12d351cd37ce13 Mon Sep 17 00:00:00 2001 From: webchick Date: Sat, 27 Oct 2012 14:39:29 -0700 Subject: [PATCH] git commit -m Issue --- core/modules/image/image.effects.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/modules/image/image.effects.inc b/core/modules/image/image.effects.inc index 35a6a74c7ac..a56a4297db0 100644 --- a/core/modules/image/image.effects.inc +++ b/core/modules/image/image.effects.inc @@ -77,7 +77,7 @@ function image_image_effect_info() { * * @see image_resize() */ -function image_resize_effect(&$image, $data) { +function image_resize_effect($image, $data) { if (!image_resize($image, $data['width'], $data['height'])) { watchdog('image', 'Image resize failed using the %toolkit toolkit on %path (%mimetype, %dimensions)', array('%toolkit' => $image->toolkit, '%path' => $image->source, '%mimetype' => $image->info['mime_type'], '%dimensions' => $image->info['width'] . 'x' . $image->info['height']), WATCHDOG_ERROR); return FALSE; @@ -121,7 +121,7 @@ function image_resize_dimensions(array &$dimensions, array $data) { * * @see image_scale() */ -function image_scale_effect(&$image, $data) { +function image_scale_effect($image, $data) { // Set sane default values. $data += array( 'width' => NULL, @@ -174,7 +174,7 @@ function image_scale_dimensions(array &$dimensions, array $data) { * TRUE on success. FALSE on failure to crop image. * @see image_crop() */ -function image_crop_effect(&$image, $data) { +function image_crop_effect($image, $data) { // Set sane default values. $data += array( 'anchor' => 'center-center', @@ -204,7 +204,7 @@ function image_crop_effect(&$image, $data) { * TRUE on success. FALSE on failure to scale and crop image. * @see image_scale_and_crop() */ -function image_scale_and_crop_effect(&$image, $data) { +function image_scale_and_crop_effect($image, $data) { if (!image_scale_and_crop($image, $data['width'], $data['height'])) { watchdog('image', 'Image scale and crop failed using the %toolkit toolkit on %path (%mimetype, %dimensions)', array('%toolkit' => $image->toolkit, '%path' => $image->source, '%mimetype' => $image->info['mime_type'], '%dimensions' => $image->info['width'] . 'x' . $image->info['height']), WATCHDOG_ERROR); return FALSE; @@ -223,7 +223,7 @@ function image_scale_and_crop_effect(&$image, $data) { * TRUE on success. FALSE on failure to desaturate image. * @see image_desaturate() */ -function image_desaturate_effect(&$image, $data) { +function image_desaturate_effect($image, $data) { if (!image_desaturate($image)) { watchdog('image', 'Image desaturate failed using the %toolkit toolkit on %path (%mimetype, %dimensions)', array('%toolkit' => $image->toolkit, '%path' => $image->source, '%mimetype' => $image->info['mime_type'], '%dimensions' => $image->info['width'] . 'x' . $image->info['height']), WATCHDOG_ERROR); return FALSE; @@ -250,7 +250,7 @@ function image_desaturate_effect(&$image, $data) { * TRUE on success. FALSE on failure to rotate image. * @see image_rotate(). */ -function image_rotate_effect(&$image, $data) { +function image_rotate_effect($image, $data) { // Set sane default values. $data += array( 'degrees' => 0,