mirror of
https://github.com/flarum/core.git
synced 2025-10-14 16:34:26 +02:00
Extract new Flarum\User namespace
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
namespace Flarum\Forum\Controller;
|
||||
|
||||
use Flarum\Core\Access\AssertPermissionTrait;
|
||||
use Flarum\Event\UserLoggedOut;
|
||||
use Flarum\User\Event\LoggedOut;
|
||||
use Flarum\Foundation\Application;
|
||||
use Flarum\Http\Controller\ControllerInterface;
|
||||
use Flarum\Http\Exception\TokenMismatchException;
|
||||
@@ -85,7 +85,7 @@ class LogOutController implements ControllerInterface
|
||||
|
||||
$actor->accessTokens()->delete();
|
||||
|
||||
$this->events->fire(new UserLoggedOut($actor));
|
||||
$this->events->fire(new LoggedOut($actor));
|
||||
|
||||
return $this->rememberer->forget($response);
|
||||
}
|
||||
|
Reference in New Issue
Block a user