Logo Branding

This commit is contained in:
2026-06-30 23:55:57 +10:00
parent 25d413283a
commit b12a6e4fd9
12 changed files with 302 additions and 14 deletions
@@ -39,9 +39,6 @@ class FlightFeedUpdate extends Command
]
]);
if($type === 'flight_departing'){
$flight->user->calculateAchievements();
}
}
}
}
@@ -28,7 +28,6 @@ class UpdateDepartedFlights extends Command
})
->get();
$this->info("Found {$userFlights->count()} flights.");
foreach ($userFlights as $flight) {
$flight->update(['departure_processed_at' => $now]);
@@ -51,8 +51,6 @@ class AchievementService
$this->user = $user;
$this->achievementCache = Achievement::all()->keyBy('internal_name');
// In calculateAchievements (or wherever createAchievementNotification is called from)
\Log::info('calculateAchievements running for user ' . $user->id);
// Load once with every relationship any checker could need
$this->flights = $user->flights()->with([
'airline.alliance',