From 24c2344ae4a16a11b62faeae4fcb1e49ed71be0a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 21 Jun 2011 22:50:09 -0500 Subject: [PATCH] removed called to eloquent in uniqueness_of. --- system/validation/rules/uniqueness_of.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/validation/rules/uniqueness_of.php b/system/validation/rules/uniqueness_of.php index 3e89fd49..7e2a230b 100644 --- a/system/validation/rules/uniqueness_of.php +++ b/system/validation/rules/uniqueness_of.php @@ -39,7 +39,7 @@ public function check($attribute, $attributes) $this->column = $attribute; } - return DB::table(Eloquent::table($this->table))->where($this->column, '=', $attributes[$attribute])->count() == 0; + return DB::table($this->table)->where($this->column, '=', $attributes[$attribute])->count() == 0; } /**