From 10f9efcd09c66a67ed432d2389c5fdc2286be0c5 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 8 Sep 2010 17:30:02 -0400 Subject: [PATCH] simplify --- ansel/lib/GalleryMode/Date.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansel/lib/GalleryMode/Date.php b/ansel/lib/GalleryMode/Date.php index cbb7440d5..7684d4ae3 100644 --- a/ansel/lib/GalleryMode/Date.php +++ b/ansel/lib/GalleryMode/Date.php @@ -550,8 +550,7 @@ class Ansel_GalleryMode_Date extends Ansel_GalleryMode_Base // Get all of this grouping's children. At day level, these are all // Ansel_Images. $children = $this->getGalleryChildren(Horde_Perms::SHOW); - $images = $this->_getArraySlice($children, $from, $count, true); - return $images; + return $this->_getArraySlice($children, $from, $count, true); } else { // We don't want to work with any images at this level in a DateMode // gallery. -- 2.11.0