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()