Simplify a little the JSON, a little more to do. re # 73

This commit is contained in:
Sébastien Lucas 2013-06-17 22:23:58 +02:00
parent 23267e37fa
commit 2029ab7d01
5 changed files with 37 additions and 24 deletions

View file

@ -311,8 +311,6 @@ class EntryBook extends Entry
public function getContentArray () {
$entry = array ( "title" => $this->title);
$entry ["coverurl"] = $this->getCover ();
$entry ["thumbnailurl"] = $this->getCoverThumbnail ();
$entry ["book"] = $this->book->getContentArray ();
return $entry;
}