From b98785d7b2bf6bcc681116999c52eb24c829a761 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Fri, 1 Dec 2023 23:39:55 +0100 Subject: [PATCH] PhotoMosaic: remove unused getRecentPhotos method --- models/PhotoMosaic.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/models/PhotoMosaic.php b/models/PhotoMosaic.php index c3cf9cd..05b2516 100644 --- a/models/PhotoMosaic.php +++ b/models/PhotoMosaic.php @@ -53,16 +53,6 @@ class PhotoMosaic return false; } - public static function getRecentPhotos() - { - return new self(AssetIterator::getByOptions([ - 'tag' => 'photo', - 'order' => 'date_captured', - 'direction' => 'desc', - 'limit' => 15, // worst case: 3 rows * (portrait + 4 thumbs) - ])); - } - public function getRow() { // Fetch the first image...