Remove LiipThemeBundle

As baggy theme was removed and material is the only remaining theme, we don't need a theme switched anymore.
So:
- move all `*.twig` files from the material theme folder to the root
- remove useless translations
This commit is contained in:
Jeremy Benoist
2022-11-23 14:49:52 +01:00
parent 827ba15255
commit 1d3935fbd3
89 changed files with 78 additions and 396 deletions

View File

@ -11,7 +11,6 @@ use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\NullOutput;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Wallabag\CoreBundle\Entity\Config;
use Wallabag\UserBundle\Entity\User;
abstract class WallabagCoreTestCase extends WebTestCase
@ -152,14 +151,6 @@ abstract class WallabagCoreTestCase extends WebTestCase
return $this->getLoggedInUser()->getId();
}
public function useTheme($theme)
{
$config = $this->getEntityManager()->getRepository(Config::class)->findOneByUser($this->getLoggedInUser());
$config->setTheme($theme);
$this->getEntityManager()->persist($config);
$this->getEntityManager()->flush();
}
/**
* Check if Redis is installed.
* If not, mark test as skip.