chore: remove obsolete feature flag

This commit is contained in:
Björn Fromme
2026-03-23 17:43:12 +01:00
parent bc7fb794bf
commit 77b16f287a
3 changed files with 1 additions and 14 deletions
-6
View File
@@ -18,7 +18,6 @@ use App\BusProNet\XmlLoader\TravelLoader;
use App\Exception\HotelNotFoundException;
use App\Exception\HotelNotInTravelException;
use App\Exception\TravelNotFoundException;
use Flagception\Manager\FeatureManagerInterface;
use Psr\Cache\InvalidArgumentException;
use Psr\Log\LoggerInterface;
use Symfony\Contracts\Cache\CacheInterface;
@@ -48,7 +47,6 @@ class TravelDataService
private readonly CacheInterface $cache,
private readonly LoggerInterface $logger,
private readonly TravelSnapshotService $travelSnapshotService,
private readonly FeatureManagerInterface $featureManager,
private readonly bool $preferRemote = false,
private readonly bool $enableFallback = true,
) {
@@ -156,10 +154,6 @@ class TravelDataService
private function getTravelDataFromSnapshot(int $dateId, ?int $hotelId): ?Travel
{
if (!$this->featureManager->isActive('travel_snapshot')) {
return null;
}
try {
$travel = $this->travelSnapshotService->loadTravel($dateId, $hotelId);
} catch (\Throwable $e) {