From 9ae008729b7e42ef7864930a18488fbd3385ff22 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 16 Sep 2010 18:18:50 -0400 Subject: [PATCH] remove commented out code, make note of this change. --- ansel/lib/Storage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.11.0