A free open source IT asset/license management system
Removed extraneous method
snipe307f84dff8e4
diff --git a/app/Models/Asset.php b/app/Models/Asset.phpindex ed72313aa4..f8ae67f9ec 100644--- a/app/Models/Asset.php+++ b/app/Models/Asset.php@@ -786,17 +786,6 @@ class Asset extends Depreciablereturn $this->belongsTo(\App\Models\Location::class, 'location_id');}- /**- * Establishes the asset -> checkout_requests relationship- *- * @author [A. Gianotto] [<[email protected]>]- * @since [v6.2.4]- * @return \Illuminate\Database\Eloquent\Relations\Relation- */- public function requests()- {- return $this->belongsToMany(\App\Models\Asset::class, 'checkout_requests', 'requestable_id', 'user_id')->where('requestable_type','=',\App\Models\Asset::class);- }/*** Get the next autoincremented asset tag