Update console commands

This commit is contained in:
Romain Neutron
2012-09-21 14:53:04 +02:00
parent 0343baf8ba
commit 06b4e6bc6f
13 changed files with 195 additions and 214 deletions

View File

@@ -47,8 +47,8 @@ class module_console_tasklist extends Command
try {
$appbox = $this->getService('phraseanet.appbox');
$task_manager = new task_manager($appbox);
$tasks = $task_manager->getTasks($this->container);
$task_manager = new task_manager($this->container);
$tasks = $task_manager->getTasks();
if (count($tasks) === 0) {
$output->writeln('No tasks on your install !');