remove unused code
This commit is contained in:
parent
6c64d191ab
commit
780b6800ba
|
|
@ -26,11 +26,6 @@ class Player extends Model
|
|||
'updated' => PlayerProfileUpdated::class,
|
||||
];
|
||||
|
||||
public function isBanned()
|
||||
{
|
||||
return $this->user->permission == User::BANNED;
|
||||
}
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(Models\User::class, 'uid');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user