Commit 189a2db9513860f4f330921dc29951a1f146f06a
Exists in
master
and in
2 other branches
Corrige erro no comando das impressoras de busca da classe
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
Command/CronCommand.php
... | ... | @@ -70,7 +70,8 @@ class CronCommand extends ContainerAwareCommand |
70 | 70 | |
71 | 71 | protected function execute(InputInterface $input, OutputInterface $output) |
72 | 72 | { |
73 | - $this->em = $this->getApplication()->getKernel()->getContainer()->get('doctrine')->getManager(); | |
73 | + $this->em = $this->getContainer()->get('doctrine')->getManager(); | |
74 | + //$this->getApplication()->getKernel()->getContainer()->get('doctrine')->getManager(); | |
74 | 75 | |
75 | 76 | $return = null; |
76 | 77 | ... | ... |