moons controller

This commit is contained in:
2020-02-23 22:40:05 -06:00
parent f8d16ddaaa
commit cb58fb6af5

View File

@@ -37,10 +37,7 @@ class MoonsController extends Controller
$systems = array();
//Get all of the alliance moon systems from the database
$systemsTemp = DB::table('alliance_moons')->select('System')->distinct()->get()->toArray();
foreach($systemsTemp as $key => $value) {
array_push($systems, $value);
}
$systems = DB::table('alliance_moons')->select('System')->distinct()->get();
dd($systems);