aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2019-01-06 18:55:39 +0100
committerKevin Decherf <kevin@kdecherf.com>2019-01-07 21:11:05 +0100
commit063d5e7bda58fee5363dcbb1f86cee51d72c4940 (patch)
tree3a23c4a6caba55af87f7f045a76046859253712c /src
parent5de17117a1a8c974458be2c128dc8f9d6912fb8c (diff)
downloadwallabag-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>
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Helper/EntriesExport.php2
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,