PhotoMosaic: remove unused getRecentPhotos method

This commit is contained in:
Aaron van Geffen 2023-12-01 23:39:55 +01:00
parent 8e0e642d34
commit b98785d7b2

View File

@ -53,16 +53,6 @@ class PhotoMosaic
return false; 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() public function getRow()
{ {
// Fetch the first image... // Fetch the first image...