mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -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');
|
return $this->belongsTo('\App\Models\Department', 'department_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isActivated()
|
|
||||||
{
|
|
||||||
return $this->activated ==1;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getFullNameAttribute()
|
public function getFullNameAttribute()
|
||||||
{
|
{
|
||||||
return $this->first_name . " " . $this->last_name;
|
return $this->first_name . " " . $this->last_name;
|
||||||
|
|
Loading…
Reference in a new issue