Set user options for newly created user

This commit is contained in:
Matthew Ross 2018-07-12 08:38:47 -04:00
parent 2ad1f70845
commit 9f1e422314

View File

@ -177,6 +177,11 @@ class TbGitHubImport {
$stmt->bindValue(':lang', 'en');
$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);