Minor - format code

pull/3890/head
Julio Montoya 4 years ago
parent bcdbae6f90
commit 3a37e42c5e
  1. 6
      public/documentation/index.html
  2. 2
      public/main/lp/ScormExport.php
  3. 1
      src/CoreBundle/Entity/Listener/ResourceListener.php
  4. 4
      src/CoreBundle/Entity/Listener/ResourceNodeListener.php

@ -3,9 +3,7 @@
<meta charset="utf-8" />
<title>Chamilo</title>
<link rel="stylesheet" href="../build/css/app.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="../build/css/themes/chamilo/default.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="default.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="../build/css/print.css" type="text/css" media="print" />
<link rel="stylesheet" href="../build/vue.css" type="text/css" media="screen,projection" />
<script src="../build/app.js"></script>
</head>
<body>
@ -34,7 +32,7 @@
</div>
</nav>
<div class="container">
<div class="container prose">
<div class="row">
<div class="hero-unit">
<h1>Chamilo 2.x - Documentation</h1>

@ -1,5 +1,7 @@
<?php
/* For licensing terms, see /license.txt */
use Chamilo\CoreBundle\Framework\Container;
use Chamilo\CourseBundle\Entity\CLp;
use Chamilo\CourseBundle\Entity\CLpItem;

@ -80,7 +80,6 @@ class ResourceListener
$em = $event->getEntityManager();
$request = $this->request;
$url = null;
if ($resource instanceof ResourceWithAccessUrlInterface) {
$url = $this->getAccessUrl($em);
$resource->addUrl($url);

@ -41,7 +41,7 @@ class ResourceNodeListener
public function prePersist(ResourceNode $resourceNode, LifecycleEventArgs $event)
{
error_log('resource node prePersist');
//error_log('resource node prePersist');
return true;
}
@ -70,6 +70,6 @@ class ResourceNodeListener
public function postUpdate(ResourceNode $resourceNode, LifecycleEventArgs $event): void
{
error_log('ResourceNode postUpdate');
//error_log('ResourceNode postUpdate');
}
}

Loading…
Cancel
Save