summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2009-12-29 00:21:38 +0000
committerSteve Dibb <beandog@gentoo.org>2009-12-29 00:21:38 +0000
commit3ac92d2fc3f9d0d711c6c07bccbbeadaf3d1e2f2 (patch)
tree7fc4d4f4845e6e228c827e7e091c53aca0bd917b /import.final.php
parentActually delete old ebuilds (diff)
downloadznurt-org-backend-3ac92d2fc3f9d0d711c6c07bccbbeadaf3d1e2f2.tar.gz
znurt-org-backend-3ac92d2fc3f9d0d711c6c07bccbbeadaf3d1e2f2.tar.bz2
znurt-org-backend-3ac92d2fc3f9d0d711c6c07bccbbeadaf3d1e2f2.zip
Actually delete old ebuilds
git-svn-id: file:///var/svn/portage@14 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
Diffstat (limited to 'import.final.php')
-rw-r--r--import.final.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/import.final.php b/import.final.php
index 84ec914..bad603e 100644
--- a/import.final.php
+++ b/import.final.php
@@ -6,12 +6,12 @@
require_once 'header.php';
// Set those that were gonna be updated to be live
- $sql = "UPDATE ebuild SET status = 0 WHERE status = 1;";
+ $sql = "UPDATE ebuild SET status = 0 WHERE status IN (1,2);";
$db->query($sql);
// Delete the ones flagged for removal
-// $sql = "DELETE FROM ebuild WHERE status = 2;";
-// $db->query($sql);
+ $sql = "DELETE FROM ebuild WHERE status = 3;";
+ $db->query($sql);