mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Add task repository as a service
This commit is contained in:
@@ -146,7 +146,7 @@ class TaskManager implements ControllerProviderInterface
|
||||
{
|
||||
$tasks = [];
|
||||
|
||||
foreach ($app['manipulator.task']->getRepository()->findAll() as $task) {
|
||||
foreach ($app['repo.tasks']->findAll() as $task) {
|
||||
$tasks[] = array_replace(
|
||||
$app['task-manager.live-information']->getTask($task), [
|
||||
'id' => $task->getId(),
|
||||
|
Reference in New Issue
Block a user