A free open source IT asset/license management system
Removed method that does the same return
snipe55683c29dc4c
diff --git a/app/Importer/ItemImporter.php b/app/Importer/ItemImporter.phpindex 21ae60f4da..9e80cb9572 100644--- a/app/Importer/ItemImporter.php+++ b/app/Importer/ItemImporter.php@@ -112,15 +112,11 @@ class ItemImporter extends Importer*/protected function determineCheckout($row){+ // Locations don't get checked out to anyone/anythingif (get_class($this) == LocationImporter::class) {return;}- // We only support checkout-to-location for asset, so short circuit otherwise.- if (get_class($this) != AssetImporter::class) {- return $this->createOrFetchUser($row);- }-if (strtolower($this->item['checkout_class']) === 'location' && $this->findCsvMatch($row, 'checkout_location') != null ) {return Location::findOrFail($this->createOrFetchLocation($this->findCsvMatch($row, 'checkout_location')));}