forked from leftypol/leftypol
context.php: add UserPostQueries
This commit is contained in:
parent
48f29774c3
commit
b542ee949a
1 changed files with 1 additions and 0 deletions
|
|
@ -78,5 +78,6 @@ function build_context(array $config): Context {
|
||||||
return new UserPostQueries($c->get(\PDO::class));
|
return new UserPostQueries($c->get(\PDO::class));
|
||||||
},
|
},
|
||||||
IpNoteQueries::class => fn($c) => new IpNoteQueries($c->get(\PDO::class), $c->get(CacheDriver::class)),
|
IpNoteQueries::class => fn($c) => new IpNoteQueries($c->get(\PDO::class), $c->get(CacheDriver::class)),
|
||||||
|
UserPostQueries::class => fn($c) => new UserPostQueries($c->get(\PDO::class))
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue