diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2019-01-06 18:55:39 +0100 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2019-01-07 21:11:05 +0100 |
commit | 063d5e7bda58fee5363dcbb1f86cee51d72c4940 (patch) | |
tree | 3a23c4a6caba55af87f7f045a76046859253712c | |
parent | 5de17117a1a8c974458be2c128dc8f9d6912fb8c (diff) | |
download | wallabag-063d5e7bda58fee5363dcbb1f86cee51d72c4940.tar.gz wallabag-063d5e7bda58fee5363dcbb1f86cee51d72c4940.tar.zst wallabag-063d5e7bda58fee5363dcbb1f86cee51d72c4940.zip |
EntriesExport/epub: remove TOC page
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>
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/EntriesExport.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/EntriesExport.php b/src/Wallabag/CoreBundle/Helper/EntriesExport.php index 6082f6b9..5658a7d3 100644 --- a/src/Wallabag/CoreBundle/Helper/EntriesExport.php +++ b/src/Wallabag/CoreBundle/Helper/EntriesExport.php | |||
@@ -200,8 +200,6 @@ class EntriesExport | |||
200 | $hash = sha1(sprintf('%s:%s', $this->wallabagUrl, implode(',', $entryIds))); | 200 | $hash = sha1(sprintf('%s:%s', $this->wallabagUrl, implode(',', $entryIds))); |
201 | $book->setIdentifier(sprintf('urn:wallabag:%s', $hash), EPub::IDENTIFIER_URI); | 201 | $book->setIdentifier(sprintf('urn:wallabag:%s', $hash), EPub::IDENTIFIER_URI); |
202 | 202 | ||
203 | $book->buildTOC(); | ||
204 | |||
205 | return Response::create( | 203 | return Response::create( |
206 | $book->getBook(), | 204 | $book->getBook(), |
207 | 200, | 205 | 200, |