package C4::Biblio;
# $Id$
# $Log$
+# Revision 1.18 2002/10/11 12:34:53 arensb
+# Replaced &requireDBI with C4::Context->dbh
+#
# Revision 1.17 2002/10/10 14:48:25 tipaul
# bugfixes
#
# input params
my (
$dbh, # db handle
+ # FIXME - Unused argument
$biblio, # hash ref to fields
)=@_;
my $error;
#-----
- requireDBI($dbh,"getoraddbiblio");
+ $dbh = C4::Context->dbh;
print "<PRE>Looking for biblio </PRE>\n" if $debug;
$sth=$dbh->prepare("select biblionumber
my (
$dbh, # DBI handle
+ # FIXME - Unused argument
$biblio, # hash ref to biblio record
$biblioitem, # hash ref to biblioitem record
$subjects, # list ref of subjects
my $additionalauthor;
#--------
- requireDBI($dbh,"newcompletebiblioitem");
+ $dbh = C4::Context->dbh;
print "<PRE>Trying to add biblio item Title=$biblio->{title} " .
"ISBN=$biblioitem->{isbn} </PRE>\n" if $debug;
sub z3950servername {
# inputs
my (
- $dbh,
+ $dbh, # FIXME - Unused argument
$srvid, # server id number
$default,
)=@_;
my $longname;
#----
- requireDBI($dbh,"z3950servername");
+ $dbh = C4::Context->dbh;
+ # FIXME - Fix indentation
my $sti=$dbh->prepare("select name
from z3950servers
where id=?");
# input
my (
$dbh, # DBI handle
+ # FIXME - Unused argument
$query, # value to look up
$type, # type of value ("isbn", "lccn", etc).
$requestid, # Unique value to prevent duplicate searches from multiple HTML form submits
$error="";
- requireDBI($dbh,"addz3950queue");
+ $dbh = C4::Context->dbh;
+
+ # FIXME - Fix indentation
# list of servers: entry can be a fully qualified URL-type entry
# or simply just a server ID number.
#--------------------------------------
# $Log$
+# Revision 1.4 2002/10/11 12:35:35 arensb
+# Replaced &requireDBI with C4::Context->dbh
+#
# Revision 1.3 2002/08/14 18:12:52 tonnesen
# Added copyright statement to all .pl and .pm files
#