Remove commented code

This commit is contained in:
snipe 2017-11-03 17:35:46 -07:00
parent da9bb07041
commit 3b9544d1f3

View file

@ -92,7 +92,6 @@ class Location extends SnipeModel
public function assignedAssets() public function assignedAssets()
{ {
return $this->morphMany('App\Models\Asset', 'assigned', 'assigned_type', 'assigned_to')->withTrashed(); return $this->morphMany('App\Models\Asset', 'assigned', 'assigned_type', 'assigned_to')->withTrashed();
// return $this->hasMany('\App\Models\Asset', 'assigned_to')->withTrashed();
} }
public function setLdapOuAttribute($ldap_ou) public function setLdapOuAttribute($ldap_ou)