mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Removed old isActive model (unused)
This commit is contained in:
parent
ffbee77f6f
commit
afac0bc441
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue