From 5020f2184ca02cebc64f9c1cd7c93f50dd917ce6 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 3 Nov 2011 21:15:10 -0700 Subject: Better fix for dc21cf36b606048dc24532407d39bc8f5b4211fa - let's just fix up the root album thumbnail when the proportions change so that we avoid this problem altogether. --- modules/gallery/helpers/graphics.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'modules/gallery/helpers/graphics.php') 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(); } -- cgit v1.2.3