forked from Public/pics
PhotoMosaic: remove unused getRecentPhotos method
This commit is contained in:
parent
8e0e642d34
commit
b98785d7b2
@ -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...
|
||||||
|
Loading…
Reference in New Issue
Block a user