Commit cd609d9b by Taylor Otwell

refactoring database layer.

parent ca8883d7
...@@ -165,9 +165,7 @@ class Query { ...@@ -165,9 +165,7 @@ class Query {
*/ */
public function reset_where() public function reset_where()
{ {
$this->wheres = array(); list($this->wheres, $this->bindings) = array(array(), array());
$this->bindings = array();
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment