mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +00:00
ajout d'url qui déconnait
This commit is contained in:
parent
4e97e6e8b9
commit
2cd263e0bd
1 changed files with 3 additions and 3 deletions
|
@ -94,10 +94,10 @@ class Sqlite extends Store {
|
|||
return $entries;
|
||||
}
|
||||
|
||||
public function add() {
|
||||
public function add($url, $title, $content) {
|
||||
parent::__construct();
|
||||
$sql_action = 'INSERT INTO entries ( url, title, content ) VALUES (?, ?, ?)';
|
||||
$params_action = array($url, $parametres_url['title'], $parametres_url['content']);
|
||||
$params_action = array($url, $title, $content);
|
||||
$query = $this->executeQuery($sql_action, $params_action);
|
||||
}
|
||||
|
||||
|
@ -133,4 +133,4 @@ class Sqlite extends Store {
|
|||
$params_update = array($content, $id);
|
||||
$query = $this->executeQuery($sql_update, $params_update);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue