Skip to content

Commit

Permalink
Internal: Remove MessageListener - refs BT#21613
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed May 22, 2024
1 parent 619a863 commit 3c217a8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 103 deletions.
35 changes: 0 additions & 35 deletions src/CoreBundle/Entity/Listener/MessageListener.php

This file was deleted.

2 changes: 0 additions & 2 deletions src/CoreBundle/Entity/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
use ApiPlatform\Metadata\GetCollection;
use ApiPlatform\Metadata\Post;
use ApiPlatform\Metadata\Put;
use Chamilo\CoreBundle\Entity\Listener\MessageListener;
use Chamilo\CoreBundle\Repository\MessageRepository;
use Chamilo\CoreBundle\State\MessageByGroupStateProvider;
use DateTime;
Expand All @@ -33,7 +32,6 @@
#[ORM\Index(columns: ['group_id'], name: 'idx_message_group')]
#[ORM\Index(columns: ['msg_type'], name: 'idx_message_type')]
#[ORM\Entity(repositoryClass: MessageRepository::class)]
#[ORM\EntityListeners([MessageListener::class])]
#[ApiResource(
operations: [
new Get(security: "is_granted('VIEW', object)"),
Expand Down
62 changes: 0 additions & 62 deletions src/CoreBundle/MessageHandler/MessageHandler.php

This file was deleted.

4 changes: 0 additions & 4 deletions src/CoreBundle/Resources/config/listeners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ services:
tags:
- {name: doctrine.orm.entity_listener, entity_manager: default, lazy: true}

Chamilo\CoreBundle\Entity\Listener\MessageListener:
tags:
- {name: doctrine.orm.entity_listener, entity_manager: default, lazy: true}

Chamilo\CoreBundle\Entity\Listener\SkillRelUserListener:
arguments:
- '@Chamilo\CoreBundle\Settings\SettingsManager'
Expand Down

0 comments on commit 3c217a8

Please sign in to comment.