Skip to content

Commit

Permalink
Fix EventCollectiveTrait name - refs BT#19390
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Dec 7, 2021
1 parent 1592afb commit 709db80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion main/install/configuration.dist.php
Expand Up @@ -450,7 +450,7 @@
CREATE UNIQUE INDEX UNIQ_D8612460AF68C6B ON personal_agenda (agenda_event_invitation_id);
*/
// Then add the "@" symbol to AgendaEventInvitation and AgendaEventInvitee classes in the ORM\Entity() line.
// Then uncomment the "use EventColletiveTrait;" line in the PersonalAgenda class.
// Then uncomment the "use EventCollectiveTrait;" line in the PersonalAgenda class.
//$_configuration['agenda_collective_invitations'] = false;
// ------
//
Expand Down
4 changes: 2 additions & 2 deletions src/Chamilo/CoreBundle/Entity/PersonalAgenda.php
Expand Up @@ -3,7 +3,7 @@

namespace Chamilo\CoreBundle\Entity;

use Chamilo\CoreBundle\Traits\EventColletiveTrait;
use Chamilo\CoreBundle\Traits\EventCollectiveTrait;
use Doctrine\ORM\Mapping as ORM;

/**
Expand All @@ -16,7 +16,7 @@
class PersonalAgenda
{
// Uncomment next line when activating the agenda_collective_invitations configuration setting.
//use EventColletiveTrait;
//use EventCollectiveTrait;

/**
* @var int
Expand Down
Expand Up @@ -7,7 +7,7 @@
use Chamilo\CoreBundle\Entity\AgendaEventInvitation;
use Doctrine\ORM\Mapping as ORM;

trait EventColletiveTrait
trait EventCollectiveTrait
{
/**
* @var AgendaEventInvitation|null
Expand Down

0 comments on commit 709db80

Please sign in to comment.