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 | |
parent | Properly flag ebuilds to be deleted, using class (also fixes bug where wrong ... (diff) | |
download | znurt-org-backend-master.tar.gz znurt-org-backend-master.tar.bz2 znurt-org-backend-master.zip |
-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; } } } |