From da7bb34a2cc7987a40a6ac9092c470611d04247c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sat, 29 Sep 2012 17:58:12 +0200 Subject: [PATCH] Removed unused variables --- book.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/book.php b/book.php index f8e793a..4be9df3 100644 --- a/book.php +++ b/book.php @@ -280,7 +280,6 @@ class Book extends Base { $result = parent::getDb ()->prepare('select ' . self::BOOK_COLUMNS . ' from books left outer join comments on book = books.id where books.id = ?'); - $entryArray = array(); $result->execute (array ($bookId)); while ($post = $result->fetchObject ()) { @@ -294,7 +293,6 @@ where books.id = ?'); $result = parent::getDb ()->prepare('select ' . self::BOOK_COLUMNS . ' from data, books left outer join comments on comments.book = books.id where data.book = books.id and data.id = ?'); - $entryArray = array(); $result->execute (array ($dataId)); while ($post = $result->fetchObject ()) {