1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 05:32:23 -05:00

Get all entries

This commit is contained in:
Vincent Jousse 2013-11-22 16:38:49 +01:00
parent 6dc90c704c
commit d4ed21081c

View File

@ -11,7 +11,8 @@ class EntryApi
} }
public function getEntries() { public function getEntries() {
//Todo $sql = "SELECT * FROM entries";
return array(); $entries = $this->db->fetchAssoc($sql);
return ($entries ? $entries : array());
} }
} }