mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-27 06:29:19 +08:00
Remove unused model scope
This commit is contained in:
parent
2cd3e47606
commit
53b305393c
@ -245,14 +245,6 @@ class User extends Authenticatable
|
||||
return $this->hasMany('App\Models\Player', 'uid');
|
||||
}
|
||||
|
||||
/**
|
||||
* Expand like scope for Eloquent Model.
|
||||
*/
|
||||
public function scopeLike($query, $field, $value)
|
||||
{
|
||||
return $query->where($field, 'LIKE', "%$value%");
|
||||
}
|
||||
|
||||
public function getAuthIdentifier()
|
||||
{
|
||||
return $this->uid;
|
||||
|
Loading…
Reference in New Issue
Block a user