Format tools files

This commit is contained in:
Matthew Ross 2020-04-22 08:34:10 -04:00
parent c2575f08b0
commit dd08499be9
2 changed files with 534 additions and 532 deletions

View File

@ -239,9 +239,11 @@ class TbGitHubImport {
$this->db->exec('DELETE FROM board_user WHERE board_id = ' . $boardId);
$columns = $this->db->query('SELECT id FROM column WHERE board_id = ' . $boardId);
if ($columns) {
while ($col = $columns->fetchArray()) {
$this->db->exec('DELETE FROM task WHERE column_id = ' . $col['id']);
}
}
$this->db->exec('DELETE FROM column WHERE board_id = ' . $boardId);