diff --git a/inc/context.php b/inc/context.php index 6ff656fe..b9e768e1 100644 --- a/inc/context.php +++ b/inc/context.php @@ -44,8 +44,7 @@ function build_context(array $config): Context { ReportQueries::class => function($c) { $auto_maintenance = (bool)$c->get('config')['auto_maintenance']; $pdo = $c->get(\PDO::class); - $cache = $c->get(CacheDriver::class); - return new ReportQueries($pdo, $cache, $auto_maintenance); + return new ReportQueries($pdo, $auto_maintenance); } ]); }