From 11d1fc7d12020b6c5027028e6e044ecd325583f7 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 30 Dec 2010 14:38:41 -0500 Subject: [PATCH] 'photo_stack' no longer exists, just check the gallery's features. --- ansel/lib/Widget/Actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansel/lib/Widget/Actions.php b/ansel/lib/Widget/Actions.php index 88ab52031..cfdd7a00d 100644 --- a/ansel/lib/Widget/Actions.php +++ b/ansel/lib/Widget/Actions.php @@ -178,7 +178,7 @@ class Ansel_Widget_Actions extends Ansel_Widget_Base } /* end if ($count) {} */ - if (Ansel::isAvailable('photo_stack') && $this->_view->gallery->hasFeature('stacks')) { + if ($this->_view->gallery->hasFeature('stacks')) { $html .= '
  • ' . $galleryurl->copy()->add(array('actionID' => 'generateDefault', 'url' => $selfurl))->link(array('class' => 'widget')) . Horde::img('reload.png') . ' ' . _("Reset default photo") . '
  • '; } } -- 2.11.0