mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Migrate remaining places
This commit is contained in:
parent
481283bbee
commit
791b674cdc
5 changed files with 9 additions and 9 deletions
|
@ -277,8 +277,8 @@ class InstallCommand extends ContainerAwareCommand
|
|||
$em = $this->getContainer()->get('doctrine.orm.entity_manager');
|
||||
|
||||
// cleanup before insert new stuff
|
||||
$em->createQuery('DELETE FROM WallabagCoreBundle:InternalSetting')->execute();
|
||||
$em->createQuery('DELETE FROM WallabagCoreBundle:IgnoreOriginInstanceRule')->execute();
|
||||
$em->createQuery('DELETE FROM Wallabag\CoreBundle\Entity\InternalSetting')->execute();
|
||||
$em->createQuery('DELETE FROM Wallabag\CoreBundle\Entity\IgnoreOriginInstanceRule')->execute();
|
||||
|
||||
foreach ($this->getContainer()->getParameter('wallabag_core.default_internal_settings') as $setting) {
|
||||
$newSetting = new InternalSetting();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue