![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/app/bundles/LeadBundle/EventListener/ |
<?php namespace Mautic\LeadBundle\EventListener; use Doctrine\ORM\EntityManager; use Mautic\CoreBundle\EventListener\CommonStatsSubscriber; use Mautic\CoreBundle\Security\Permissions\CorePermissions; use Mautic\LeadBundle\Entity\CompanyChangeLog; use Mautic\LeadBundle\Entity\CompanyLead; use Mautic\LeadBundle\Entity\DoNotContact; use Mautic\LeadBundle\Entity\FrequencyRule; use Mautic\LeadBundle\Entity\LeadCategory; use Mautic\LeadBundle\Entity\LeadDevice; use Mautic\LeadBundle\Entity\LeadEventLog; use Mautic\LeadBundle\Entity\ListLead; use Mautic\LeadBundle\Entity\PointsChangeLog; use Mautic\LeadBundle\Entity\StagesChangeLog; use Mautic\LeadBundle\Entity\UtmTag; class StatsSubscriber extends CommonStatsSubscriber { public function __construct(CorePermissions $security, EntityManager $entityManager) { parent::__construct($security, $entityManager); $this->addContactRestrictedRepositories( [ CompanyChangeLog::class, PointsChangeLog::class, StagesChangeLog::class, CompanyLead::class, LeadCategory::class, LeadDevice::class, LeadEventLog::class, ListLead::class, DoNotContact::class, FrequencyRule::class, UtmTag::class, ] ); } }