https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10662

--- Comment #211 from Josef Moravec <[email protected]> ---
Comment on attachment 81783
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81783
Bug 10662: Build OAI-PMH Harvesting Client

Review of attachment 81783:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10662&attachment=81783)
-----------------------------------------------------------------

::: Koha/OAI/Harvester/Worker/Download/Stream.pm
@@ +111,5 @@
> +    }
> +
> +    #NOTE: Prepare database statement handle
> +    my $dbh = C4::Context->dbh;
> +    my $sql = "insert into oai_harvester_import_queue (uuid,result) VALUES 
> (?,?)";

You should not use SQL in Koha modules, use
Koha::OAI::Harvester::ImportQueue->new in place of execution of this statement

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to