Skip to content

A free open source IT asset/license management system

Remove commented code

snipe3b9544d1f36f
diff --git a/app/Models/Location.php b/app/Models/Location.php
index 6a416a4173..1f9d140ff2 100755
--- a/app/Models/Location.php
+++ b/app/Models/Location.php
@@ -92,7 +92,6 @@ class Location extends SnipeModel
public function assignedAssets()
{
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)