[Koha-cvs] CVS: koha/acqui.simple addbookslccn.pl,1.7,1.7.2.1
Andrew Arensburger
arensb at users.sourceforge.net
Fri Oct 4 04:28:55 CEST 2002
Update of /cvsroot/koha/koha/acqui.simple
In directory usw-pr-cvs1:/tmp/cvs-serv19681
Modified Files:
Tag: arensb-context
addbookslccn.pl
Log Message:
Use C4::Connect instead of C4::Database, C4::Connect->dbh instead
C4Connect.
Index: addbookslccn.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/addbookslccn.pl,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -C2 -r1.7 -r1.7.2.1
*** addbookslccn.pl 14 Aug 2002 18:12:52 -0000 1.7
--- addbookslccn.pl 4 Oct 2002 02:28:52 -0000 1.7.2.1
***************
*** 32,38 ****
# Suite 330, Boston, MA 02111-1307 USA
- use C4::Database;
- use CGI;
use strict;
use C4::Catalogue;
use C4::Biblio;
--- 32,38 ----
# Suite 330, Boston, MA 02111-1307 USA
use strict;
+ use CGI;
+ use C4::Context;
use C4::Catalogue;
use C4::Biblio;
***************
*** 41,45 ****
my $input = new CGI;
! my $dbh=C4Connect;
my $lccn=$input->param('lccn');
--- 41,45 ----
my $input = new CGI;
! my $dbh = C4::Context->dbh;
my $lccn=$input->param('lccn');
More information about the Koha-cvs
mailing list