Set user options for newly created user
This commit is contained in:
parent
2ad1f70845
commit
9f1e422314
@ -177,6 +177,11 @@ class TbGitHubImport {
|
|||||||
$stmt->bindValue(':lang', 'en');
|
$stmt->bindValue(':lang', 'en');
|
||||||
|
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
|
||||||
|
$optId = $this->db->lastInsertRowID();
|
||||||
|
$stmt = $this->db->prepare('UPDATE user SET user_option_id = ' . $optId .
|
||||||
|
' WHERE id = ' . $adminId);
|
||||||
|
$stmt->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
$boardId = $this->cleanupExistingTables($project->name);
|
$boardId = $this->cleanupExistingTables($project->name);
|
||||||
|
Reference in New Issue
Block a user