forked from leftypol/leftypol
context.php: remove cache from ReportQueries
This commit is contained in:
parent
d3782562b8
commit
222523e574
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue