From 2012170724701ec8a0861c13e2f6a861d57f657b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 5 Feb 2016 15:03:22 +0100 Subject: [PATCH] adapt to new ExportInterface --- Export/Export/CountPerson.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Export/Export/CountPerson.php b/Export/Export/CountPerson.php index 3a573e635..df7611c25 100644 --- a/Export/Export/CountPerson.php +++ b/Export/Export/CountPerson.php @@ -64,7 +64,7 @@ class CountPerson implements ExportInterface * @param QueryBuilder $qb * @return QueryBuilder */ - public function initiateQuery(QueryBuilder $qb, array $requiredModifiers, $acl) + public function initiateQuery(QueryBuilder $qb, array $requiredModifiers, array $acl, array $data = array()) { $centers = array_map(function($el) { return $el['center']; }, $acl); @@ -107,11 +107,7 @@ class CountPerson implements ExportInterface } public function buildForm(FormBuilderInterface $builder) { - throw new \LogicException('This export does not require a form'); - } - - public function hasForm(){ - return false; + } public function supportsModifiers()