1
0
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:
Franz Liedke
2017-06-24 12:55:22 +02:00
parent fda8c597f4
commit 564ea8ff73
163 changed files with 405 additions and 394 deletions

View File

@@ -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);
}