1
0
mirror of https://github.com/moparisthebest/wallabag synced 2025-02-12 13:10:11 -05:00

Remove useless line

This commit is contained in:
Vincent Jousse 2013-12-13 22:36:55 +01:00
parent 8c2d368cbf
commit bc8c4f7434

View File

@ -20,7 +20,6 @@ class EntryRepository
//TODO don't hardcode the user ;) //TODO don't hardcode the user ;)
public function saveEntry($entry, $userId = 1) { public function saveEntry($entry, $userId = 1) {
$sql = "INSERT INTO entries (url, title, content, user_id) values (:url, :title, :content, :user_id)";
return $this->db->insert('entries', array_merge($entry, array('user_id' => $userId))); return $this->db->insert('entries', array_merge($entry, array('user_id' => $userId)));
} }
} }