From 222523e574b92515e05b7fc0c79ecbd47f3220d6 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sun, 8 Dec 2024 13:30:12 +0100 Subject: [PATCH] context.php: remove cache from ReportQueries --- inc/context.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } ]); }