From b542ee949aa042ec20c2c0a0edcb0ee30bc5a117 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Fri, 23 May 2025 22:33:52 +0200 Subject: [PATCH] context.php: add UserPostQueries --- inc/context.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/context.php b/inc/context.php index 11a153ec..77603fc6 100644 --- a/inc/context.php +++ b/inc/context.php @@ -78,5 +78,6 @@ function build_context(array $config): Context { return new UserPostQueries($c->get(\PDO::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)) ]); }