diff options
| author | spiderr <spider@viovio.com> | 2012-05-06 13:22:00 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-05-06 13:22:00 -0400 |
| commit | 860c7f7cecb0c92bd2a2deb88cea9185b135a0a2 (patch) | |
| tree | e85afece45e6271d315a061d555cb2871f627481 /BitDbPear.php | |
| parent | 87c4cf807f73dc1bf43fea4d68dcdcd6e698bdaf (diff) | |
| download | kernel-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.php | 4 |
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; |
