removed called to eloquent in uniqueness_of.

This commit is contained in:
Taylor Otwell 2011-06-21 22:50:09 -05:00
parent 7f8c686360
commit 24c2344ae4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
/**