mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
messages d'erreur si pas possible d'ajouter ou de supprimer un lien
This commit is contained in:
parent
69ca1455d1
commit
29c6fd4607
2 changed files with 25 additions and 12 deletions
|
@ -107,6 +107,7 @@ class Sqlite extends Store {
|
|||
$sql_action = 'INSERT INTO entries ( url, title, content ) VALUES (?, ?, ?)';
|
||||
$params_action = array($url, $title, $content);
|
||||
$query = $this->executeQuery($sql_action, $params_action);
|
||||
return $query;
|
||||
}
|
||||
|
||||
public function deleteById($id) {
|
||||
|
@ -114,6 +115,7 @@ class Sqlite extends Store {
|
|||
$sql_action = "DELETE FROM entries WHERE id=?";
|
||||
$params_action = array($id);
|
||||
$query = $this->executeQuery($sql_action, $params_action);
|
||||
return $query;
|
||||
}
|
||||
|
||||
public function favoriteById($id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue