[chore] update deprecated event comments (#41)

This commit is contained in:
Ian Morland 2022-02-22 19:07:04 +00:00 committed by GitHub
parent fc85ce8579
commit 07ebe5b57d
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class DeleteFlagsHandler
$actor->assertCan('viewFlags', $post->discussion);
// remove beta 17
// Deprecated, removed v2.0
$this->events->dispatch(new FlagsWillBeDeleted($post, $actor, $command->data));
foreach ($post->flags as $flag) {

View File

@ -13,7 +13,7 @@ use Flarum\Post\Post;
use Flarum\User\User;
/**
* @deprecated 0.1.0-beta.16, remove 0.1.0-beta.17
* @deprecated v2.0
* Listen for Flarum\Flags\Event\Deleting instead
*/
class FlagsWillBeDeleted