Commit 24c2344a authored by Taylor Otwell's avatar Taylor Otwell

removed called to eloquent in uniqueness_of.

parent 7f8c6863
......@@ -39,7 +39,7 @@ class Uniqueness_Of extends Rule {
$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;
}
/**
......
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