summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2011-11-19 15:14:18 +0000
committerNathan Kinkade <nath@nkinka.de>2011-11-19 15:14:18 +0000
commit297241991937160c057ed6f181ef441ebe6aaaaf (patch)
tree99de1c34eba0e6f7d87dd3895c0b0388b74497f6 /modules/gallery/helpers
parent7ed7450890bf997a9005051f6bdcd7a6d0112e77 (diff)
parent94eef9eaecbdcc98f4b5adb0da939480a324b0ad (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers')
-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();
}