1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 15:34:26 +02:00

Add flood control

closes #271
This commit is contained in:
Toby Zerner
2015-10-22 16:57:48 +10:30
parent c0364cbc9d
commit 415b68f84f
5 changed files with 114 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ class StartDiscussionHandler
$this->assertCan($actor, 'startDiscussion');
// Create a new Discussion entity, persist it, and dispatch domain
// events. Before persistance, though, fire an event to give plugins
// events. Before persistence, though, fire an event to give plugins
// an opportunity to alter the discussion entity based on data in the
// command they may have passed through in the controller.
$discussion = Discussion::start(