Skip to content

A free open source IT asset/license management system

Remove unused variable

snipe6deb26fafe7a
diff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.php
index 09e1931091..23091de859 100755
--- a/app/Http/Controllers/LocationsController.php
+++ b/app/Http/Controllers/LocationsController.php
@@ -41,8 +41,6 @@ class LocationsController extends Controller
{
// Grab all the locations
$this->authorize('view', Location::class);
- $locations = Location::orderBy('created_at', 'DESC')->with('parent', 'assets', 'assignedassets')->get();
-
// Show the page
return view('locations/index');
}