diff options
author | 2010-01-30 21:21:59 +0000 | |
---|---|---|
committer | 2010-01-30 21:21:59 +0000 | |
commit | 2b7b533c088a343aff42a29a0e635543d4ba2ccf (patch) | |
tree | 937b19d97b27444a0237a7767ed80d824dd01c1d | |
parent | Use postgres to calcuate the time intervals (diff) | |
download | znurt-org-backend-2b7b533c088a343aff42a29a0e635543d4ba2ccf.tar.gz znurt-org-backend-2b7b533c088a343aff42a29a0e635543d4ba2ccf.tar.bz2 znurt-org-backend-2b7b533c088a343aff42a29a0e635543d4ba2ccf.zip |
Clear out the old records if we're going to start anew
git-svn-id: file:///var/svn/portage@76 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
-rw-r--r-- | import.bugzilla.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/import.bugzilla.php b/import.bugzilla.php index 5ed9e3a..d821449 100644 --- a/import.bugzilla.php +++ b/import.bugzilla.php @@ -32,6 +32,9 @@ if($import_bugzilla) { + $sql = "DELETE FROM bugzilla;"; + $db->query($sql); + if($verbose) { shell::msg("importing bugs"); } |