3
0
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:
snipe
2018-09-26 19:05:42 -07:00
parent ffbee77f6f
commit afac0bc441

View File

@ -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;