summaryrefslogtreecommitdiffstats
path: root/chat/lib/class/AJAXChatDataBase.php
diff options
context:
space:
mode:
Diffstat (limited to 'chat/lib/class/AJAXChatDataBase.php')
-rw-r--r--chat/lib/class/AJAXChatDataBase.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/chat/lib/class/AJAXChatDataBase.php b/chat/lib/class/AJAXChatDataBase.php
index 3b4d07f..df50b86 100644
--- a/chat/lib/class/AJAXChatDataBase.php
+++ b/chat/lib/class/AJAXChatDataBase.php
@@ -10,7 +10,8 @@
// Class to initialize the DataBase connection:
class AJAXChatDataBase {
- var $_db;
+ protected
+ $_db;
function __construct(&$dbConnectionConfig) {
switch($dbConnectionConfig['type']) {
@@ -67,9 +68,9 @@ class AJAXChatDataBase {
// Method to retrieve the current DataBase name:
function getName() {
- return $this->_db->getName();
+ return $this->_db->getName();
//If your database has hyphens ( - ) in it, try using this instead:
- //return '`'.$this->_db->getName().'`';
+ //return '`'.$this->_db->getName().'`';
}
// Method to retrieve the last inserted ID: