diff options
author | 2009-12-29 21:50:27 +0000 | |
---|---|---|
committer | 2009-12-29 21:50:27 +0000 | |
commit | a59b697ed10b05236a2cf76d8743b668ed4ec9fe (patch) | |
tree | f7fa64fac6b2cce7abeae73a478214bf3d3d478b | |
parent | Only do updates on newer directories (diff) | |
download | znurt-org-backend-a59b697ed10b05236a2cf76d8743b668ed4ec9fe.tar.gz znurt-org-backend-a59b697ed10b05236a2cf76d8743b668ed4ec9fe.tar.bz2 znurt-org-backend-a59b697ed10b05236a2cf76d8743b668ed4ec9fe.zip |
update package bugs
git-svn-id: file:///var/svn/portage@24 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
-rw-r--r-- | import.final.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/import.final.php b/import.final.php index bad603e..ef44c32 100644 --- a/import.final.php +++ b/import.final.php @@ -13,6 +13,12 @@ $sql = "DELETE FROM ebuild WHERE status = 3;"; $db->query($sql); - + // Same for bugs + $sql = "DELETE FROM package_bugs WHERE status = 0;"; + $db->query($sql); + + $sql = "UPDATE package_bugs SET status = 0 WHERE status = 1;"; + $db->query($sql); + ?>
\ No newline at end of file |