mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 05:13:37 +08:00
[chore] update deprecated event comments (#41)
This commit is contained in:
parent
fc85ce8579
commit
07ebe5b57d
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user