From: Michael J. Rubinsky Date: Thu, 30 Dec 2010 19:38:41 +0000 (-0500) Subject: 'photo_stack' no longer exists, just check the gallery's features. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=11d1fc7d12020b6c5027028e6e044ecd325583f7;p=horde.git 'photo_stack' no longer exists, just check the gallery's features. --- 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") . '
  • '; } }