mirror of
https://github.com/moparisthebest/wallabag
synced 2024-12-18 05:32:23 -05:00
Get all entries
This commit is contained in:
parent
6dc90c704c
commit
d4ed21081c
@ -11,7 +11,8 @@ class EntryApi
|
||||
}
|
||||
|
||||
public function getEntries() {
|
||||
//Todo
|
||||
return array();
|
||||
$sql = "SELECT * FROM entries";
|
||||
$entries = $this->db->fetchAssoc($sql);
|
||||
return ($entries ? $entries : array());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user