diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-07-24 00:39:59 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-07-24 00:39:59 +0200 |
commit | 856d9c0b54cc971940df4ed64429d994faf770f9 (patch) | |
tree | d89f73b5e24b6c0535e6669080f15ef5e1165e04 /lib/image.php | |
parent | 796768577154dc9cc2542e33d8d81c6a5fa77dea (diff) | |
download | nextcloud-server-856d9c0b54cc971940df4ed64429d994faf770f9.tar.gz nextcloud-server-856d9c0b54cc971940df4ed64429d994faf770f9.zip |
some indention fixes
Diffstat (limited to 'lib/image.php')
-rw-r--r-- | lib/image.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/image.php b/lib/image.php index c438b3d67f6..90c64320a7c 100644 --- a/lib/image.php +++ b/lib/image.php @@ -23,12 +23,12 @@ //From user comments at http://dk2.php.net/manual/en/function.exif-imagetype.php if ( ! function_exists( 'exif_imagetype' ) ) { - function exif_imagetype ( $filename ) { - if ( ( $info = getimagesize( $filename ) ) !== false ) { - return $info[2]; - } - return false; - } + function exif_imagetype ( $filename ) { + if ( ( $info = getimagesize( $filename ) ) !== false ) { + return $info[2]; + } + return false; + } } function ellipsis($str, $maxlen) { @@ -66,7 +66,6 @@ class OC_Image { public function __construct($imageref = null) { //OC_Log::write('core',__METHOD__.'(): start', OC_Log::DEBUG); if(!extension_loaded('gd') || !function_exists('gd_info')) { - //if(!function_exists('imagecreatefromjpeg')) { OC_Log::write('core',__METHOD__.'(): GD module not installed', OC_Log::ERROR); return false; } |