diff --git a/classes/db_pdo.php b/classes/db_pdo.php index 1139585..202880e 100644 --- a/classes/db_pdo.php +++ b/classes/db_pdo.php @@ -96,7 +96,7 @@ abstract class DB_PDO extends PDO { } // Set the statement in the class variable for easy later access - $this->statement =& $query; + $this->statement = $query; if( ! (is_array($data) || is_object($data))) diff --git a/classes/db_util.php b/classes/db_util.php index 4956bdc..dd8b07f 100644 --- a/classes/db_util.php +++ b/classes/db_util.php @@ -29,9 +29,9 @@ abstract class DB_Util { /** * Save a reference to the connection object for later use * - * @param object &$conn + * @param object $conn */ - public function __construct(&$conn) + public function __construct($conn) { $this->conn = $conn; } diff --git a/classes/query_builder.php b/classes/query_builder.php index b8762a3..6ec348b 100644 --- a/classes/query_builder.php +++ b/classes/query_builder.php @@ -103,7 +103,7 @@ class Query_Builder implements iQuery_Builder { * @param DB_PDO $db * @param object $params - the connection parameters */ - public function __construct(&$db, $params) + public function __construct($db, $params) { $this->db = $db; @@ -117,7 +117,7 @@ class Query_Builder implements iQuery_Builder { $this->parser = new Query_Parser(); // Make things just slightly shorter - $this->sql =& $this->db->sql; + $this->sql = $this->db->sql; } // -------------------------------------------------------------------------- diff --git a/common.php b/common.php index bc0ebd8..6590b12 100644 --- a/common.php +++ b/common.php @@ -198,11 +198,11 @@ function Query($params = '') // Save it for later if (isset($params->alias)) { - $connections[$params->alias] =& $conn; + $connections[$params->alias] = $conn; } else { - $connections[] =& $conn; + $connections[] = $conn; } // Return the Query Builder object diff --git a/docs/classes/BadConnectionException.html b/docs/classes/BadConnectionException.html index 248aae3..9085c7d 100644 --- a/docs/classes/BadConnectionException.html +++ b/docs/classes/BadConnectionException.html @@ -219,7 +219,7 @@
+ generated on 2013-02-07T16:20:40-05:00.