Format tools files
This commit is contained in:
parent
c2575f08b0
commit
dd08499be9
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user