summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2009-12-15 20:44:20 +0000
committerSteve Dibb <beandog@gentoo.org>2009-12-15 20:44:20 +0000
commit09088aa9aee870ff3e9dc490683976d224a68b4b (patch)
tree99637a9cd8193a2c937a3efd0e09d6726055916a /import.final.php
downloadznurt-org-backend-09088aa9aee870ff3e9dc490683976d224a68b4b.tar.gz
znurt-org-backend-09088aa9aee870ff3e9dc490683976d224a68b4b.tar.bz2
znurt-org-backend-09088aa9aee870ff3e9dc490683976d224a68b4b.zip
initial commit
git-svn-id: file:///var/svn/portage@1 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
Diffstat (limited to 'import.final.php')
-rw-r--r--import.final.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/import.final.php b/import.final.php
new file mode 100644
index 0000000..84ec914
--- /dev/null
+++ b/import.final.php
@@ -0,0 +1,18 @@
+<?
+
+ $verbose = true;
+ $qa = true;
+
+ require_once 'header.php';
+
+ // Set those that were gonna be updated to be live
+ $sql = "UPDATE ebuild SET status = 0 WHERE status = 1;";
+ $db->query($sql);
+
+ // Delete the ones flagged for removal
+// $sql = "DELETE FROM ebuild WHERE status = 2;";
+// $db->query($sql);
+
+
+
+?> \ No newline at end of file