remove ACP_SHARED Declaration

This commit is contained in:
Mathieu Jaumotte 2022-08-11 17:17:52 +02:00
parent d27c52b526
commit f7993eaf2b
5 changed files with 4 additions and 8 deletions

View File

@ -17,7 +17,7 @@ use Chill\ActivityBundle\Security\Authorization\ActivityStatsVoter;
use Chill\MainBundle\Export\ExportInterface;
use Chill\MainBundle\Export\FormatterInterface;
use Chill\MainBundle\Export\GroupedExportInterface;
use Chill\PersonBundle\Export\Declarations as ExportDeclarations;
use Chill\PersonBundle\Export\Declarations as PersonDeclarations;
use Doctrine\ORM\Query;
use LogicException;
use Symfony\Component\Form\FormBuilderInterface;
@ -100,9 +100,9 @@ class CountActivityLinkedToACP implements ExportInterface, GroupedExportInterfac
public function supportsModifiers()
{
return [
ExportDeclarations::PERSON_TYPE,
Declarations::ACTIVITY,
ExportDeclarations::ACP_SHARED
PersonDeclarations::PERSON_TYPE,
//PersonDeclarations::ACP_TYPE,
];
}

View File

@ -22,8 +22,6 @@ abstract class Declarations
public const ACP_TYPE = 'accompanying_period';
public const ACP_SHARED = 'accompanying_period_shared';
public const SOCIAL_WORK_ACTION_TYPE = 'social_actions';
public const EVAL_TYPE = 'evaluation';

View File

@ -102,7 +102,6 @@ class CountAccompanyingCourse implements ExportInterface, GroupedExportInterface
{
return [
Declarations::ACP_TYPE,
Declarations::ACP_SHARED
];
}

View File

@ -114,7 +114,7 @@ class CountPerson implements ExportInterface, GroupedExportInterface
return [
Declarations::PERSON_TYPE,
Declarations::PERSON_IMPLIED_IN,
Declarations::ACP_SHARED
//Declarations::ACP_TYPE
];
}

View File

@ -105,7 +105,6 @@ class CountSocialWorkActions implements ExportInterface, GroupedExportInterface
{
return [
Declarations::SOCIAL_WORK_ACTION_TYPE,
Declarations::ACP_SHARED
];
}