diff options
author | Frug <frugen@gmail.com> | 2014-01-14 14:33:01 -0500 |
---|---|---|
committer | Frug <frugen@gmail.com> | 2014-01-14 14:33:01 -0500 |
commit | 8f534e66ea0809b41a5ff5d55d4db7a614709a62 (patch) | |
tree | 311847cef631ba907507f38d38ed184bc78507e2 /chat/lib/class/AJAXChatDataBase.php | |
parent | b8da142891de8764dab1a255527bb480cf75f94b (diff) | |
download | AJAX-Chat-8f534e66ea0809b41a5ff5d55d4db7a614709a62.zip AJAX-Chat-8f534e66ea0809b41a5ff5d55d4db7a614709a62.tar.gz AJAX-Chat-8f534e66ea0809b41a5ff5d55d4db7a614709a62.tar.bz2 |
use __construct
Diffstat (limited to 'chat/lib/class/AJAXChatDataBase.php')
-rw-r--r-- | chat/lib/class/AJAXChatDataBase.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chat/lib/class/AJAXChatDataBase.php b/chat/lib/class/AJAXChatDataBase.php index 2cfe621..2143c5a 100644 --- a/chat/lib/class/AJAXChatDataBase.php +++ b/chat/lib/class/AJAXChatDataBase.php @@ -12,7 +12,7 @@ class AJAXChatDataBase { var $_db; - function AJAXChatDataBase(&$dbConnectionConfig) { + function __construct(&$dbConnectionConfig) { switch($dbConnectionConfig['type']) { case 'mysqli': $this->_db = new AJAXChatDatabaseMySQLi($dbConnectionConfig); |