From: Michael J. Rubinsky Date: Wed, 8 Sep 2010 21:30:02 +0000 (-0400) Subject: simplify X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=10f9efcd09c66a67ed432d2389c5fdc2286be0c5;p=horde.git simplify --- 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.