summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-11-03 21:15:10 -0700
committerBharat Mediratta <bharat@menalto.com>2011-11-03 21:15:10 -0700
commit5020f2184ca02cebc64f9c1cd7c93f50dd917ce6 (patch)
tree69fda75e855db9ac68b9b56e8dc278a6861658e4
parent1189ced2ce688bc41f3866e59f86eb4799757890 (diff)
Better fix for dc21cf36b606048dc24532407d39bc8f5b4211fa - let's just fix up
the root album thumbnail when the proportions change so that we avoid this problem altogether.
-rw-r--r--modules/gallery/helpers/graphics.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php
index 3548faa1..06cab788 100644
--- a/modules/gallery/helpers/graphics.php
+++ b/modules/gallery/helpers/graphics.php
@@ -229,7 +229,6 @@ class graphics_Core {
return db::build()
->from("items")
->and_open()
- ->and_open()
->where("thumb_dirty", "=", 1)
->and_open()
->where("type", "<>", "album")
@@ -239,8 +238,6 @@ class graphics_Core {
->where("resize_dirty", "=", 1)
->where("type", "=", "photo")
->close()
- ->close()
- ->where("id", "<>", 1)
->close();
}