From: Michael J. Rubinsky Date: Thu, 16 Sep 2010 22:18:50 +0000 (-0400) Subject: remove commented out code, make note of this change. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9ae008729b7e42ef7864930a18488fbd3385ff22;p=horde.git remove commented out code, make note of this change. --- diff --git a/ansel/lib/Storage.php b/ansel/lib/Storage.php index 805302ea4..8b428c279 100644 --- a/ansel/lib/Storage.php +++ b/ansel/lib/Storage.php @@ -94,7 +94,8 @@ class Ansel_Storage $attributes['default_type'] = isset($attributes['default_type']) ? $attributes['default_type'] : 'auto'; $attributes['default'] = isset($attributes['default']) ? (int)$attributes['default'] : 0; $attributes['default_prettythumb'] = isset($attributes['default_prettythumb']) ? $attributes['default_prettythumb'] : ''; - $attributes['style'] = isset($attributes['style']) ? $attributes['style'] : '';//$GLOBALS['prefs']->getValue('default_gallerystyle'); + // No value for style now means to use the 'default_ansel' style as defined in styles.php + $attributes['style'] = isset($attributes['style']) ? $attributes['style'] : ''; $attributes['date_created'] = time(); $attributes['last_modified'] = $attributes['date_created']; $attributes['images'] = isset($attributes['images']) ? (int)$attributes['images'] : 0;