removed called to eloquent in uniqueness_of.
This commit is contained in:
parent
7f8c686360
commit
24c2344ae4
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue