about summary refs log tree commit diff stats
path: root/classes/Handler/ListHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Handler/ListHandler.php')
-rw-r--r--classes/Handler/ListHandler.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/classes/Handler/ListHandler.php b/classes/Handler/ListHandler.php
index e4f6455..9c65176 100644
--- a/classes/Handler/ListHandler.php
+++ b/classes/Handler/ListHandler.php
@@ -71,13 +71,10 @@ class ListHandler implements RequestHandlerInterface, AuthRequired
                 }
             }
 
-            $read_link = "";
             $in_progress = false;
             $is_read = false;
 
             if ($line["epub_id"]) {
-                $read_link = "read.html?" . http_build_query(["id" => $line["epub_id"], "rt" => $mode, "b" => $line["id"], "ts" => time()]);
-
                 $lastread_sth = $ldb->prepare("SELECT lastread, total_pages FROM epube_books, epube_pagination
                     WHERE epube_pagination.bookid = epube_books.bookid AND
                         epube_books.bookid = ? AND owner = ?");
@@ -92,14 +89,6 @@ class ListHandler implements RequestHandlerInterface, AuthRequired
                 }
             }
 
-            $series_link = "";
-            $series_full = "";
-
-            if ($line["series_name"]) {
-                $series_link = "?" . http_build_query(["query" => $line["series_name"]]);
-                $series_full = $line["series_name"] . " [" . $line["series_index"] . "]";
-            }
-
             $data_sth = $caldb->prepare("SELECT * FROM data WHERE book = ? LIMIT 3");
             $data_sth->execute([$line['id']]);
 
@@ -127,10 +116,7 @@ class ListHandler implements RequestHandlerInterface, AuthRequired
                 "author_sort" => $line["author_sort"],
                 "series_name" => $line["series_name"] ?? "",
                 "series_index" => $line["series_index"] ?? 0,
-                "series_link" => $series_link,
-                "series_full" => $series_full,
                 "cover_link" => $cover_link,
-                "read_link" => $read_link,
                 "in_progress" => $in_progress,
                 "is_read" => $is_read,
                 "is_fav" => $is_fav,