Skip to content
Snippets Groups Projects
Commit 1c7e44c1 authored by Prasad's avatar Prasad
Browse files

Fixes #864: Adjust constructor signature

parent 15b11e7a
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ $logsqltm = LoggerManager::getLogger('SQLTIME');
// See function convertPS2Sql in PearDatabase below
class PreparedQMark2SqlValue {
// Constructor
function PreparedQMark2SqlValue($vals){
function __construct($vals){
$this->ctr = 0;
$this->vals = $vals;
}
......@@ -838,7 +838,7 @@ class PearDatabase{
/**
* Constructor
*/
function PearDatabase($dbtype='',$host='',$dbname='',$username='',$passwd='') {
function __construct($dbtype='',$host='',$dbname='',$username='',$passwd='') {
global $currentModule;
$this->log = LoggerManager::getLogger('PearDatabase_'. $currentModule);
$this->resetSettings($dbtype,$host,$dbname,$username,$passwd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment