From 722df1075e020413b3b0ac96d2098a74b2bee156 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 16 Feb 2010 12:02:14 -0500 Subject: [PATCH] ws, style --- ansel/lib/View/Image.php | 2 -- ansel/lib/View/Results.php | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ansel/lib/View/Image.php b/ansel/lib/View/Image.php index d23918146..e52b764e9 100644 --- a/ansel/lib/View/Image.php +++ b/ansel/lib/View/Image.php @@ -189,8 +189,6 @@ class Ansel_View_Image extends Ansel_View_Base 'image' => $this->resource->id)); } - - /* Check for an explicit gallery view url to use */ if (!empty($this->_params['gallery_view_url'])) { $this->_urls['gallery'] = Horde_Util::addParameter( diff --git a/ansel/lib/View/Results.php b/ansel/lib/View/Results.php index 2e78fe2c3..2c6439390 100644 --- a/ansel/lib/View/Results.php +++ b/ansel/lib/View/Results.php @@ -255,8 +255,7 @@ class Ansel_View_Results extends Ansel_View_Base } $rtaghtml .= ''; } - $styleDef = Ansel::getStyleDefinition( - $GLOBALS['prefs']->getValue('default_gallerystyle')); + $styleDef = Ansel::getStyleDefinition($GLOBALS['prefs']->getValue('default_gallerystyle')); $style = $styleDef['name']; $viewurl = Horde_Util::addParameter('view.php', array('view' => 'Results', 'actionID' => 'add')); -- 2.11.0