diff options
author | Steve Dibb <beandog@gentoo.org> | 2010-03-25 09:39:39 -0600 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2010-03-25 09:39:39 -0600 |
commit | eea8d788616dd7ec68b7d44db1e6e3f03a51f383 (patch) | |
tree | 8171bb426d258b7c03b5bb9468b686bfcf175e67 /import.ebuilds.php | |
parent | Properly flag ebuilds to be deleted, using class (also fixes bug where wrong ... (diff) | |
download | znurt-org-backend-eea8d788616dd7ec68b7d44db1e6e3f03a51f383.tar.gz znurt-org-backend-eea8d788616dd7ec68b7d44db1e6e3f03a51f383.tar.bz2 znurt-org-backend-eea8d788616dd7ec68b7d44db1e6e3f03a51f383.zip |
Diffstat (limited to 'import.ebuilds.php')
-rw-r--r-- | import.ebuilds.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/import.ebuilds.php b/import.ebuilds.php index 8dcdedd..2db754f 100644 --- a/import.ebuilds.php +++ b/import.ebuilds.php @@ -38,7 +38,7 @@ * */ -// $verbose = true; +// $verbose = true; // $debug = false; // $all = false; @@ -230,8 +230,8 @@ $ebuild = $arr_ebuild_ids[$category_name][$package_name][$ebuild_name]; if($ebuild) { - $tmp_update = array('status' => 2); - $db->autoExecute('ebuild', $tmp_update, MDB2_AUTOQUERY_UPDATE, "id = ".$db->quote($id)); + $db_ebuild = new DBEbuild($ebuild); + $db_ebuild->status = 2; } } } |