mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Replace GetEbooksFromFilesystem with a DB implementation
This commit is contained in:
parent
364a2ca78f
commit
f4a19a2d12
3 changed files with 6 additions and 75 deletions
|
@ -104,7 +104,7 @@ function CreateZip(string $filePath, array $ebooks, string $type, string $webRoo
|
|||
}
|
||||
|
||||
// Iterate over all ebooks and arrange them by publication month
|
||||
foreach(Library::GetEbooksFromFilesystem($webRoot) as $ebook){
|
||||
foreach(Library::GetEbooks() as $ebook){
|
||||
$timestamp = $ebook->EbookCreated->format('Y-m');
|
||||
$updatedTimestamp = $ebook->EbookUpdated->getTimestamp();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue