From 40de093311988ab78148f8eae62a8e5795e030cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Thu, 13 Feb 2014 11:07:50 +0100 Subject: [PATCH] unused variables --- book.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/book.php b/book.php index d46203a..46cad12 100644 --- a/book.php +++ b/book.php @@ -115,7 +115,7 @@ class Book extends Base { return "?page=".parent::PAGE_BOOK_DETAIL."&id=$this->id"; } - public function getDetailUrl ($permalink = false) { + public function getDetailUrl () { $urlParam = $this->getUri (); if (!is_null (GetUrlParam (DB))) $urlParam = addURLParameter ($urlParam, DB, GetUrlParam (DB)); return 'index.php' . $urlParam; @@ -289,7 +289,6 @@ class Book extends Base { public function getFilePath ($extension, $idData = NULL, $relative = false) { - $file = NULL; if ($extension == "jpg") { $file = "cover.jpg";