summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--import.final.php8
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