From cd609d9b39888f2958c364f80a2eab2279fa6c6b Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 12 Sep 2011 23:57:53 -0500 Subject: [PATCH] refactoring database layer. --- laravel/database/query.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/laravel/database/query.php b/laravel/database/query.php index 743de412..085e39f2 100644 --- a/laravel/database/query.php +++ b/laravel/database/query.php @@ -165,9 +165,7 @@ class Query { */ public function reset_where() { - $this->wheres = array(); - - $this->bindings = array(); + list($this->wheres, $this->bindings) = array(array(), array()); } /**