@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use Nelmio\ApiDocBundle\Annotation\Model; |
| 19 | 19 | use SWP\Bundle\CoreBundle\Form\Type\ThemeInstallType; |
| 20 | 20 | use SWP\Bundle\CoreBundle\Form\Type\ThemeUploadType; |
| 21 | -use SWP\Bundle\CoreBundle\Model\Tenant; |
|
| 22 | 21 | use SWP\Bundle\CoreBundle\Model\TenantInterface; |
| 23 | 22 | use SWP\Bundle\CoreBundle\Theme\Helper\ThemeHelper; |
| 24 | 23 | use SWP\Component\Common\Response\ResourcesListResponseInterface; |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | use SWP\Bundle\ContentBundle\Doctrine\ArticleRepositoryInterface; |
| 25 | 25 | use SWP\Bundle\ContentBundle\Model\ArticleInterface; |
| 26 | 26 | use SWP\Bundle\ContentBundle\Model\RouteInterface; |
| 27 | -use SWP\Bundle\CoreBundle\Model\Article; |
|
| 28 | 27 | use SWP\Component\Storage\Factory\FactoryInterface; |
| 29 | 28 | use SWP\Component\Storage\Repository\RepositoryInterface; |
| 30 | 29 | |
@@ -4,9 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace SWP\Bundle\CoreBundle\Security\Authenticator; |
| 6 | 6 | |
| 7 | -use Doctrine\ORM\EntityManagerInterface; |
|
| 8 | -use SWP\Bundle\CoreBundle\Model\UserInterface as CoreUserInterface; |
|
| 9 | -use SWP\Bundle\CoreBundle\Security\Provider\UserProvider; |
|
| 10 | 7 | use Symfony\Component\Security\Core\User\UserInterface; |
| 11 | 8 | use KnpU\OAuth2ClientBundle\Security\Authenticator\SocialAuthenticator; |
| 12 | 9 | use KnpU\OAuth2ClientBundle\Client\ClientRegistry; |
@@ -4,12 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | namespace SWP\Bundle\CoreBundle\Controller; |
| 6 | 6 | |
| 7 | -use KnpU\OAuth2ClientBundle\Client\ClientRegistry; |
|
| 8 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 9 | 8 | use Symfony\Component\HttpFoundation\Response; |
| 10 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 11 | -use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; |
|
| 12 | -use League\OAuth2\Client\Provider\Exception\IdentityProviderException; |
|
| 13 | 9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 14 | 10 | use Symfony\Component\Routing\Annotation\Route; |
| 15 | 11 | |