From 2b56129d70d18686a73d044ff65b418eef83f388 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= <daniel@klabbers.email>
Date: Fri, 28 Jun 2024 21:42:36 +0200
Subject: [PATCH] fix: duplicated mentionsUsers in extend.php

---
 extensions/mentions/extend.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/extensions/mentions/extend.php b/extensions/mentions/extend.php
index 6960bebfe..7312c7312 100644
--- a/extensions/mentions/extend.php
+++ b/extensions/mentions/extend.php
@@ -48,8 +48,7 @@ return [
         ->belongsToMany('mentionedBy', Post::class, 'post_mentions_post', 'mentions_post_id', 'post_id')
         ->belongsToMany('mentionsPosts', Post::class, 'post_mentions_post', 'post_id', 'mentions_post_id')
         ->belongsToMany('mentionsUsers', User::class, 'post_mentions_user', 'post_id', 'mentions_user_id')
-        ->belongsToMany('mentionsGroups', Group::class, 'post_mentions_group', 'post_id', 'mentions_group_id')
-        ->belongsToMany('mentionsUsers', User::class, 'post_mentions_user', 'post_id', 'mentions_user_id'),
+        ->belongsToMany('mentionsGroups', Group::class, 'post_mentions_group', 'post_id', 'mentions_group_id'),
 
     new Extend\Locales(__DIR__.'/locale'),