Remove an unneeded parameter from Query Builder and fix some docs
This commit is contained in:
parent
405ff86cbc
commit
9c55ed51c0
@ -407,7 +407,7 @@ abstract class Abstract_Driver extends PDO implements Driver_Interface {
|
|||||||
/**
|
/**
|
||||||
* Method to simplify retreiving db results for meta-data queries
|
* Method to simplify retreiving db results for meta-data queries
|
||||||
*
|
*
|
||||||
* @param string $sql
|
* @param string|array|null $sql
|
||||||
* @param bool $filtered_index
|
* @param bool $filtered_index
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
@ -148,7 +148,7 @@ final class Connection_Manager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create the Query Builder object
|
// Create the Query Builder object
|
||||||
$conn = new Query_Builder($db, $params);
|
$conn = new Query_Builder($db);
|
||||||
|
|
||||||
// Save it for later
|
// Save it for later
|
||||||
if (isset($params->alias))
|
if (isset($params->alias))
|
||||||
|
@ -177,9 +177,8 @@ class Query_Builder implements Query_Builder_Interface {
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param Abstract_driver $db
|
* @param Abstract_driver $db
|
||||||
* @param ArrayObject $params - the connection parameters
|
|
||||||
*/
|
*/
|
||||||
public function __construct(Driver_Interface $db, ArrayObject $params)
|
public function __construct(Driver_Interface $db)
|
||||||
{
|
{
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user