testing
This commit is contained in:
@@ -53,7 +53,6 @@ class StructureHelper {
|
||||
|
||||
//Record the structure information into the database
|
||||
//Find if the structure exists
|
||||
//$found = Structure::where(['structure_id' => $structure->structure_id])->first();
|
||||
if(Structure::where(['structure_id' => $structure->structure_id])->count() == 0) {
|
||||
if(isset($info->solar_system_id)) {
|
||||
$solarName = $this->GetSolarSystemName($info->solar_system_id);
|
||||
@@ -78,6 +77,11 @@ class StructureHelper {
|
||||
} else {
|
||||
$st->services = false;
|
||||
}
|
||||
if(isset($structure->state)) {
|
||||
$st->state = $structure->state;
|
||||
} else {
|
||||
$st->state = 'None';
|
||||
}
|
||||
if(isset($structure->state_timer_start)) {
|
||||
$st->state_timer_start = $this->DecodeDate($structure->state_timer_start);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user