unused variables

This commit is contained in:
Sébastien Lucas 2014-02-13 11:07:50 +01:00
parent e116655de7
commit 40de093311

View file

@ -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";