summaryrefslogtreecommitdiffstats
path: root/chat/lib/class/AJAXChatMySQLiQuery.php
diff options
context:
space:
mode:
authorFrug <frugen@gmail.com>2014-01-14 14:33:01 -0500
committerFrug <frugen@gmail.com>2014-01-14 14:33:01 -0500
commit8f534e66ea0809b41a5ff5d55d4db7a614709a62 (patch)
tree311847cef631ba907507f38d38ed184bc78507e2 /chat/lib/class/AJAXChatMySQLiQuery.php
parentb8da142891de8764dab1a255527bb480cf75f94b (diff)
downloadAJAX-Chat-8f534e66ea0809b41a5ff5d55d4db7a614709a62.zip
AJAX-Chat-8f534e66ea0809b41a5ff5d55d4db7a614709a62.tar.gz
AJAX-Chat-8f534e66ea0809b41a5ff5d55d4db7a614709a62.tar.bz2
use __construct
Diffstat (limited to 'chat/lib/class/AJAXChatMySQLiQuery.php')
-rw-r--r--chat/lib/class/AJAXChatMySQLiQuery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat/lib/class/AJAXChatMySQLiQuery.php b/chat/lib/class/AJAXChatMySQLiQuery.php
index a55d5f8..f81afd8 100644
--- a/chat/lib/class/AJAXChatMySQLiQuery.php
+++ b/chat/lib/class/AJAXChatMySQLiQuery.php
@@ -17,7 +17,7 @@ class AJAXChatMySQLiQuery {
var $_error = '';
// Constructor:
- function AJAXChatMySQLiQuery($sql, $connectionID) {
+ function __construct($sql, $connectionID) {
$this->_sql = trim($sql);
$this->_connectionID = $connectionID;
$this->_result = $this->_connectionID->query($this->_sql);