projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50be3df
)
Be sure to clear all generated stacks when emptying a gallery
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 13 Aug 2009 20:47:04 +0000
(16:47 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 13 Aug 2009 20:47:04 +0000
(16:47 -0400)
ansel/lib/Storage.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Storage.php
b/ansel/lib/Storage.php
index
bee705a
..
d5f3e24
100644
(file)
--- a/
ansel/lib/Storage.php
+++ b/
ansel/lib/Storage.php
@@
-395,6
+395,7
@@
class Ansel_Storage
*/
public function emptyGallery($gallery)
{
+ $gallery->clearStacks();
$images = $gallery->listImages();
foreach ($images as $image) {
// Pretend we are a stack so we don't update the images count