[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] C4::Context
From: |
Andrew Arensburger |
Subject: |
[Koha-devel] C4::Context |
Date: |
Sat Oct 5 10:38:08 2002 |
User-agent: |
Mutt/1.2.5.1i |
Just to keep people informed (those who don't get CVS logs, at
least): I've updated Koha to use C4::Context->dbh instead of
&C4Connect throughout (RTFM C4::Context(3) for more details, or
'pod2text C4/Context.pm').
In a nutshell, $dbh = C4::Context->dbh returns a database handle,
creating one if necessary. It is not necessary or even desirable to
call $dbh->disconnect, since this handle is persistent, and gets
closed when the script terminates.
--
Andrew Arensburger This message *does* represent the
address@hidden views of ooblick.com
This land is your land. This land is my land. So stay on your land.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-devel] C4::Context,
Andrew Arensburger <=