aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/store
diff options
context:
space:
mode:
Diffstat (limited to 'inc/store')
-rw-r--r--inc/store/sqlite.class.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/store/sqlite.class.php b/inc/store/sqlite.class.php
index 4bfbb29e..21081608 100644
--- a/inc/store/sqlite.class.php
+++ b/inc/store/sqlite.class.php
@@ -74,6 +74,13 @@ class Sqlite extends Store {
74 return isset($pass[0]['value']) ? $pass[0]['value'] : FALSE; 74 return isset($pass[0]['value']) ? $pass[0]['value'] : FALSE;
75 } 75 }
76 76
77 public function updatePassword($password)
78 {
79 $sql_update = "UPDATE config SET value=? WHERE name='password'";
80 $params_update = array($password);
81 $query = $this->executeQuery($sql_update, $params_update);
82 }
83
77 private function executeQuery($sql, $params) { 84 private function executeQuery($sql, $params) {
78 try 85 try
79 { 86 {