]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
EntriesExport/epub: remove TOC page
authorKevin Decherf <kevin@kdecherf.com>
Sun, 6 Jan 2019 17:55:39 +0000 (18:55 +0100)
committerKevin Decherf <kevin@kdecherf.com>
Mon, 7 Jan 2019 20:11:05 +0000 (21:11 +0100)
This change only remove the rendered page of the TOC at the end of the
book, the TOC remains available to readers.

Fixes #3603

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
src/Wallabag/CoreBundle/Helper/EntriesExport.php

index 6082f6b9c47f444a6c5abad61dd167032d8f815b..5658a7d3a9682f8cdb8b186295fcb249aacaf974 100644 (file)
@@ -200,8 +200,6 @@ class EntriesExport
         $hash = sha1(sprintf('%s:%s', $this->wallabagUrl, implode(',', $entryIds)));
         $book->setIdentifier(sprintf('urn:wallabag:%s', $hash), EPub::IDENTIFIER_URI);
 
-        $book->buildTOC();
-
         return Response::create(
             $book->getBook(),
             200,