From: Michael J. Rubinsky Date: Sat, 1 Jan 2011 20:15:32 +0000 (-0500) Subject: cs X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ba581fed747e3ded345de28b1e4a278eadd2364c;p=horde.git cs --- diff --git a/ansel/lib/Image.php b/ansel/lib/Image.php index f851b7a1b..c2f45fc6f 100644 --- a/ansel/lib/Image.php +++ b/ansel/lib/Image.php @@ -752,13 +752,12 @@ class Ansel_Image Implements Iterator */ public function deleteCache($view = 'all') { - /* Delete cached screen image. (We don't care if the file is not found) */ if ($view == 'all' || $view == 'screen') { try { $GLOBALS['injector']->getInstance('Horde_Core_Factory_Vfs')->create('images')->deleteFile( $this->getVFSPath('screen'), $this->getVFSName('screen')); - } catch (VFS_Exception $e) { + } catch (VFS_Exception $e ) { } } @@ -772,8 +771,7 @@ class Ansel_Image Implements Iterator } if ($view == 'all' || $view == 'thumb') { $hashes = $GLOBALS['injector']->getInstance('Ansel_Storage')->getHashes(); - foreach ($hashes as $hash) - { + foreach ($hashes as $hash) { try { $GLOBALS['injector']->getInstance('Horde_Core_Factory_Vfs') ->create('images')