From 6deb26fafe7ac351de5342c3e399fb64996f07ba Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 30 Sep 2019 19:37:52 -0700 Subject: [PATCH] Remove unused variable --- app/Http/Controllers/LocationsController.php | 2 -- 1 file changed, 2 deletions(-) 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'); }