Allow base course documents inside a session.

pull/3064/head
Julio Montoya 5 years ago
parent 87bc432356
commit 6dd786dd40
  1. 3
      src/CourseBundle/Entity/CDocument.php

@ -9,6 +9,7 @@ use Chamilo\CoreBundle\Entity\Resource\AbstractResource;
use Chamilo\CoreBundle\Entity\Resource\ResourceInterface;
use Chamilo\CoreBundle\Entity\Resource\ResourceLink;
use Chamilo\CoreBundle\Entity\Session;
use Chamilo\CourseBundle\Traits\ShowCourseResourcesInSessionTrait;
use Doctrine\ORM\Event\LifecycleEventArgs;
use Doctrine\ORM\Mapping as ORM;
@ -31,6 +32,8 @@ use Doctrine\ORM\Mapping as ORM;
*/
class CDocument extends AbstractResource implements ResourceInterface
{
use ShowCourseResourcesInSessionTrait;
/**
* @var int
*

Loading…
Cancel
Save