Skip to content

Commit

Permalink
chore: remove tag creating and saving listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Nov 24, 2023
1 parent c80c3db commit 320abb3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 63 deletions.
4 changes: 0 additions & 4 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
use Flarum\Post\Post;
use Flarum\Settings\Event\Saving as SettingsSaving;
use Flarum\Tags\Api\Serializer\TagSerializer;
use Flarum\Tags\Event\Creating as TagCreating;
use Flarum\Tags\Event\Saving as TagSaving;
use Flarum\Tags\Tag;
use Flarum\User\User;
use FoF\BestAnswer\Events\BestAnswerSet;
Expand Down Expand Up @@ -62,8 +60,6 @@
(new Extend\Event())
->listen(DiscussionSaving::class, Listeners\SaveBestAnswerToDatabase::class)
->listen(BestAnswerSet::class, Listeners\QueueNotificationJobs::class)
->listen(TagCreating::class, Listeners\TagCreating::class)
->listen(TagSaving::class, Listeners\TagEditing::class)
->subscribe(Listeners\RecalculateBestAnswerCounts::class)
->listen(SettingsSaving::class, Listeners\SaveTagSettings::class),

Expand Down
26 changes: 0 additions & 26 deletions src/Listeners/TagCreating.php

This file was deleted.

33 changes: 0 additions & 33 deletions src/Listeners/TagEditing.php

This file was deleted.

0 comments on commit 320abb3

Please sign in to comment.