diff --git a/src/Core/Access/AssertPermissionTrait.php b/src/Core/Access/AssertPermissionTrait.php index 4b5a98ea5..8d3c87151 100644 --- a/src/Core/Access/AssertPermissionTrait.php +++ b/src/Core/Access/AssertPermissionTrait.php @@ -10,7 +10,6 @@ namespace Flarum\Core\Access; -use Flarum\Api\Exception\InvalidAccessTokenException; use Flarum\Core\Exception\PermissionDeniedException; use Flarum\Core\User; diff --git a/src/Http/SessionAuthenticator.php b/src/Http/SessionAuthenticator.php index 703af2d01..f8b75ec36 100644 --- a/src/Http/SessionAuthenticator.php +++ b/src/Http/SessionAuthenticator.php @@ -10,7 +10,6 @@ namespace Flarum\Http; -use DateTime; use Symfony\Component\HttpFoundation\Session\SessionInterface; class SessionAuthenticator