simplify
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 8 Sep 2010 21:30:02 +0000 (17:30 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 8 Sep 2010 21:35:15 +0000 (17:35 -0400)
ansel/lib/GalleryMode/Date.php

index cbb7440..7684d4a 100644 (file)
@@ -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.