mirror of
https://github.com/snipe/snipe-it.git
synced 2026-03-30 12:24:53 +00:00
Removed old isActive model (unused)
This commit is contained in:
@ -166,11 +166,6 @@ class User extends SnipeModel implements AuthenticatableContract, CanResetPasswo
|
||||
return $this->belongsTo('\App\Models\Department', 'department_id');
|
||||
}
|
||||
|
||||
public function isActivated()
|
||||
{
|
||||
return $this->activated ==1;
|
||||
}
|
||||
|
||||
public function getFullNameAttribute()
|
||||
{
|
||||
return $this->first_name . " " . $this->last_name;
|
||||
|
||||
Reference in New Issue
Block a user