summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'import.ebuilds.php')
-rw-r--r--import.ebuilds.php6
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;
}
}
}