From d4a963d0f7da60bbd51e3cd13e8c186f6fca054c Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 2 Sep 2026 14:28:29 -0700 Subject: [PATCH] fix(tags): broken tag deletion on user delete There's a typo here. It's getting tagIds but then trying to use it as a uid. This causes hard failures. Signed-off-by: Varun Patil --- lib/private/TagManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/TagManager.php b/lib/private/TagManager.php index 90b8d558d8877..2431bae5a453d 100644 --- a/lib/private/TagManager.php +++ b/lib/private/TagManager.php @@ -125,7 +125,7 @@ public function handle(Event $event): void { // Clean vcategory $qb1 = $this->connection->getQueryBuilder(); $qb1 = $qb1->delete('vcategory') - ->where($qb1->expr()->in('uid', $qb1->createParameter('chunk'))); + ->where($qb1->expr()->in('id', $qb1->createParameter('chunk'))); foreach (array_chunk($tagsIds, 1000) as $tagChunk) { $qb->setParameter('chunk', $tagChunk, IQueryBuilder::PARAM_INT_ARRAY);