forked from wallabag/wallabag
get up to date for merge
This commit is contained in:
@ -117,10 +117,10 @@ class Database {
|
||||
$query = $this->executeQuery($sql, array());
|
||||
}
|
||||
|
||||
public function install($login, $password)
|
||||
public function install($login, $password, $email = '')
|
||||
{
|
||||
$sql = 'INSERT INTO users ( username, password, name, email) VALUES (?, ?, ?, ?)';
|
||||
$params = array($login, $password, $login, ' ');
|
||||
$params = array($login, $password, $login, $email);
|
||||
$query = $this->executeQuery($sql, $params);
|
||||
|
||||
$sequence = '';
|
||||
|
||||
Reference in New Issue
Block a user