query($sql); // Delete the ones flagged for removal $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); ?>