mirror of
https://github.com/moparisthebest/wallabag
synced 2025-02-12 05:00:22 -05:00
Remove useless line
This commit is contained in:
parent
8c2d368cbf
commit
bc8c4f7434
@ -20,7 +20,6 @@ class EntryRepository
|
||||
//TODO don't hardcode the user ;)
|
||||
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)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user