Bug 8435: (follow-up) prevent t/00-load.t failing
[koha.git] / svc / import_bib
index a029a58..f93428d 100755 (executable)
@@ -86,10 +86,10 @@ sub import_bib {
 
     my $matcher = C4::Matcher->new($params->{record_type} || 'biblio');
     $matcher = C4::Matcher->fetch($params->{matcher_id});
-    my $number_of_matches =  BatchFindBibDuplicates($batch_id, $matcher);
+    my $number_of_matches =  BatchFindDuplicates($batch_id, $matcher);
 
     # XXX we are ignoring the result of this;
-    BatchCommitBibRecords($batch_id, $framework) if lc($import_mode) eq 'direct';
+    BatchCommitRecords($batch_id, $framework) if lc($import_mode) eq 'direct';
 
     my $dbh = C4::Context->dbh();
     my $sth = $dbh->prepare("SELECT matched_biblionumber FROM import_biblios WHERE import_record_id =?");