summaryrefslogtreecommitdiffstats
path: root/chat/lib/class
diff options
context:
space:
mode:
authorPhilip Nicolcev <frugen@gmail.com>2016-04-30 18:14:43 -0400
committerPhilip Nicolcev <frugen@gmail.com>2016-04-30 18:14:43 -0400
commita608a9d550016f9492b6b0b92fc28ef46168831c (patch)
tree8487f9322b2ca31f75b3cb4caf88b1ff85da33da /chat/lib/class
parentcf0e5d6e22e34dab8fd8499064eddb8bd901a79b (diff)
downloadAJAX-Chat-a608a9d550016f9492b6b0b92fc28ef46168831c.zip
AJAX-Chat-a608a9d550016f9492b6b0b92fc28ef46168831c.tar.gz
AJAX-Chat-a608a9d550016f9492b6b0b92fc28ef46168831c.tar.bz2
CS fixes, use protected instead of var
Diffstat (limited to 'chat/lib/class')
-rw-r--r--chat/lib/class/AJAXChatMySQLQuery.php11
-rw-r--r--chat/lib/class/AJAXChatMySQLiQuery.php11
2 files changed, 12 insertions, 10 deletions
diff --git a/chat/lib/class/AJAXChatMySQLQuery.php b/chat/lib/class/AJAXChatMySQLQuery.php
index fd7a451..8343216 100644
--- a/chat/lib/class/AJAXChatMySQLQuery.php
+++ b/chat/lib/class/AJAXChatMySQLQuery.php
@@ -10,11 +10,12 @@
// Class to perform SQL (MySQL) queries:
class AJAXChatMySQLQuery {
- var $_connectionID;
- var $_sql = '';
- var $_result = 0;
- var $_errno = 0;
- var $_error = '';
+ protected
+ $_connectionID,
+ $_sql = '',
+ $_result = 0,
+ $_errno = 0,
+ $_error = '';
// Constructor:
function __construct($sql, $connectionID = null) {
diff --git a/chat/lib/class/AJAXChatMySQLiQuery.php b/chat/lib/class/AJAXChatMySQLiQuery.php
index 4ee5787..5a46df2 100644
--- a/chat/lib/class/AJAXChatMySQLiQuery.php
+++ b/chat/lib/class/AJAXChatMySQLiQuery.php
@@ -10,11 +10,12 @@
// Class to perform SQL (MySQLi) queries:
class AJAXChatMySQLiQuery {
- var $_connectionID;
- var $_sql = '';
- var $_result = 0;
- var $_errno = 0;
- var $_error = '';
+ protected
+ $_connectionID,
+ $_sql = '',
+ $_result = 0,
+ $_errno = 0,
+ $_error = '';
// Constructor:
function __construct($sql, $connectionID) {