aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/store/sqlite.class.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-23 09:38:57 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-23 09:38:57 +0200
commit29c6fd460700e67fa538af337dcfce2787f2cc4e (patch)
tree3203557c30edbd2ae7f74129a2be2753b5d4b64f /inc/store/sqlite.class.php
parent69ca1455d13e27de9e3f506f294010889a560fb9 (diff)
downloadwallabag-29c6fd460700e67fa538af337dcfce2787f2cc4e.tar.gz
wallabag-29c6fd460700e67fa538af337dcfce2787f2cc4e.tar.zst
wallabag-29c6fd460700e67fa538af337dcfce2787f2cc4e.zip
messages d'erreur si pas possible d'ajouter ou de supprimer un lien
Diffstat (limited to 'inc/store/sqlite.class.php')
-rw-r--r--inc/store/sqlite.class.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/store/sqlite.class.php b/inc/store/sqlite.class.php
index d5208a29..cda412e6 100644
--- a/inc/store/sqlite.class.php
+++ b/inc/store/sqlite.class.php
@@ -107,6 +107,7 @@ class Sqlite extends Store {
107 $sql_action = 'INSERT INTO entries ( url, title, content ) VALUES (?, ?, ?)'; 107 $sql_action = 'INSERT INTO entries ( url, title, content ) VALUES (?, ?, ?)';
108 $params_action = array($url, $title, $content); 108 $params_action = array($url, $title, $content);
109 $query = $this->executeQuery($sql_action, $params_action); 109 $query = $this->executeQuery($sql_action, $params_action);
110 return $query;
110 } 111 }
111 112
112 public function deleteById($id) { 113 public function deleteById($id) {
@@ -114,6 +115,7 @@ class Sqlite extends Store {
114 $sql_action = "DELETE FROM entries WHERE id=?"; 115 $sql_action = "DELETE FROM entries WHERE id=?";
115 $params_action = array($id); 116 $params_action = array($id);
116 $query = $this->executeQuery($sql_action, $params_action); 117 $query = $this->executeQuery($sql_action, $params_action);
118 return $query;
117 } 119 }
118 120
119 public function favoriteById($id) { 121 public function favoriteById($id) {