summaryrefslogtreecommitdiff
path: root/BitDbPear.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-06 13:22:00 -0400
committerspiderr <spider@viovio.com>2012-05-06 13:22:00 -0400
commit860c7f7cecb0c92bd2a2deb88cea9185b135a0a2 (patch)
treee85afece45e6271d315a061d555cb2871f627481 /BitDbPear.php
parent87c4cf807f73dc1bf43fea4d68dcdcd6e698bdaf (diff)
downloadkernel-860c7f7cecb0c92bd2a2deb88cea9185b135a0a2.tar.gz
kernel-860c7f7cecb0c92bd2a2deb88cea9185b135a0a2.tar.bz2
kernel-860c7f7cecb0c92bd2a2deb88cea9185b135a0a2.zip
replace all PHP4 style constructors with __construct; replace calls to base class constructors with parent::__construct()
Diffstat (limited to 'BitDbPear.php')
-rw-r--r--BitDbPear.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/BitDbPear.php b/BitDbPear.php
index 5ff4ccd..08c891d 100644
--- a/BitDbPear.php
+++ b/BitDbPear.php
@@ -32,10 +32,10 @@ require_once( KERNEL_PKG_PATH.'BitDbBase.php' );
*/
class BitDbPear extends BitDb
{
- function BitDbPear( $pPearDsn=NULL, $pPearOptions = NULL )
+ function __construct( $pPearDsn=NULL, $pPearOptions = NULL )
{
global $gDebug;
- parent::BitDb();
+ parent::__construct();
if( empty( $pPearDsn ) ) {
global $gBitDbType, $gBitDbUser, $gBitDbPassword, $gBitDbHost, $gBitDbName;