Commit e28dfd1e authored by Jessica Severin's avatar Jessica Severin
Browse files

switched to dba->dbc for new Registry system

parent 5182b9c0
......@@ -77,7 +77,7 @@ sub CreateNewJob {
" ,analysis_id='".$analysis->dbID ."' ";
$sql .= " ,status='BLOCKED', job_claim='BLOCKED'" if($blocked);
my $dbc = $analysis->adaptor->db;
my $dbc = $analysis->adaptor->db->dbc;
my $sth = $dbc->prepare($sql);
$sth->execute();
my $dbID = $sth->{'mysql_insertid'};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment