From: Michael J. Rubinsky Date: Thu, 13 Aug 2009 20:47:04 +0000 (-0400) Subject: Be sure to clear all generated stacks when emptying a gallery X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4d0128294996235cccb63703a9aabfd09ae07359;p=horde.git Be sure to clear all generated stacks when emptying a gallery --- diff --git a/ansel/lib/Storage.php b/ansel/lib/Storage.php index bee705ab6..d5f3e2455 100644 --- 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