From 89ec1d77df8ff0260d0f15e1a9a946574475bfd9 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 27 Dec 2017 16:09:20 +1030 Subject: [PATCH] Fix class names --- .../src/Listener/AddPostMentionedByRelationship.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php b/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php index 47be7af84..22c71589b 100755 --- a/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php +++ b/extensions/mentions/src/Listener/AddPostMentionedByRelationship.php @@ -11,15 +11,13 @@ namespace Flarum\Mentions\Listener; -use Flarum\Api\Controller\CreatePostController; -use Flarum\Api\Controller\ListPostsController; -use Flarum\Api\Controller\ShowDiscussionController; -use Flarum\Api\Controller\ShowPostController; +use Flarum\Api\Controller; use Flarum\Api\Event\WillGetData; use Flarum\Api\Event\WillSerializeData; use Flarum\Api\Serializer\BasicPostSerializer; use Flarum\Event\GetApiRelationship; use Flarum\Event\GetModelRelationship; +use Flarum\Post\CommentPost; use Flarum\Post\Post; use Flarum\Post\PostRepository; use Flarum\User\User;