projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c5bec
)
'photo_stack' no longer exists, just check the gallery's features.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 30 Dec 2010 19:38:41 +0000
(14:38 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 30 Dec 2010 19:42:09 +0000
(14:42 -0500)
ansel/lib/Widget/Actions.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Widget/Actions.php
b/ansel/lib/Widget/Actions.php
index
88ab520
..
cfdd7a0
100644
(file)
--- 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 .= '<li>' . $galleryurl->copy()->add(array('actionID' => 'generateDefault', 'url' => $selfurl))->link(array('class' => 'widget')) . Horde::img('reload.png') . ' ' . _("Reset default photo") . '</a></li>';
}
}