diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-07-01 08:35:35 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-07-01 08:35:35 +0000 |
| commit | 3cd865aa8314fbec5d2acf86673b37154f6c3628 (patch) | |
| tree | 02c9773f8e56080939b1172688f1971b85a6c115 /plugins/processor.magickwand.php | |
| parent | 4fca2cf21bc27eecf820ba5448901e45b60adfe6 (diff) | |
| download | liberty-3cd865aa8314fbec5d2acf86673b37154f6c3628.tar.gz liberty-3cd865aa8314fbec5d2acf86673b37154f6c3628.tar.bz2 liberty-3cd865aa8314fbec5d2acf86673b37154f6c3628.zip | |
remove unused parameters to simplify code and avoid confusion
Diffstat (limited to 'plugins/processor.magickwand.php')
| -rw-r--r-- | plugins/processor.magickwand.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/processor.magickwand.php b/plugins/processor.magickwand.php index 7039a4b..ab267c4 100644 --- a/plugins/processor.magickwand.php +++ b/plugins/processor.magickwand.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_liberty/plugins/processor.magickwand.php,v 1.17 2008/06/19 07:29:56 lsces Exp $ + * $Header: /cvsroot/bitweaver/_bit_liberty/plugins/processor.magickwand.php,v 1.18 2008/07/01 08:35:35 squareing Exp $ * * Image processor - extension: php-magickwand * @package liberty @@ -15,7 +15,7 @@ * @access public * @return TRUE on success, FALSE on failure - mErrors will contain reason for failure */ -function liberty_magickwand_resize_image( &$pFileHash, $pThumbnail = FALSE ) { +function liberty_magickwand_resize_image( &$pFileHash ) { global $gBitSystem; // static var here is crucial static $rgbConverts = array(); @@ -191,7 +191,7 @@ function liberty_magickwand_can_thumbnail_image( $pMimeType ) { * @access public * @return TRUE on success, FALSE on failure - mErrors will contain reason for failure */ -function liberty_magickwand_convert_colorspace_image( &$pFileHash, $pColorSpace, $pThumbnail = false ) { +function liberty_magickwand_convert_colorspace_image( &$pFileHash, $pColorSpace ) { $ret = FALSE; if( !empty( $pFileHash['source_file'] ) && is_file( $pFileHash['source_file'] ) ) { $magickWand = NewMagickWand(); |
