aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/store
diff options
context:
space:
mode:
Diffstat (limited to 'inc/store')
-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) {