Minor - format code

pull/4020/head
Julio 3 years ago
parent c76bb699ee
commit c68ce4ddd4
  1. 3
      public/main/exercise/answer.class.php
  2. 3
      public/main/exercise/exercise.class.php
  3. 1
      public/main/inc/lib/internationalization.lib.php
  4. 6
      src/CoreBundle/Resources/config/services.yml

@ -815,8 +815,7 @@ class Answer
*
* @author Olivier Brouckaert
*
* @param Question $newQuestion
* @param null $courseInfo destination course info (result of the function api_get_course_info() )
* @param null $courseInfo destination course info (result of the function api_get_course_info() )
*
* @throws \Doctrine\ORM\ORMException
* @throws \Doctrine\ORM\OptimisticLockException

@ -8974,7 +8974,6 @@ class Exercise
);
}
$style = '';
if (0 === $exerciseEntity->getActive() || false === $visibility) {
$style = 'color:grey';
@ -9224,7 +9223,7 @@ class Exercise
'onclick' => "javascript:if(!confirm('".
addslashes(api_htmlentities(get_lang('Are you sure to delete?')))." ".
addslashes($exercise->getUnformattedTitle())."?"."')) return false;",
'href' => $deleteUrl
'href' => $deleteUrl,
]
);
} else {

@ -2,7 +2,6 @@
/* For licensing terms, see /license.txt */
use Carbon\Carbon;
use Chamilo\CoreBundle\DataFixtures\LanguageFixtures;
use Chamilo\CoreBundle\Framework\Container;
use ChamiloSession as Session;

@ -83,9 +83,9 @@ services:
Chamilo\CoreBundle\Tool\ToolChain: ~
course.sticky_boolean_filter:
parent: 'api_platform.doctrine.orm.boolean_filter'
arguments: [ { 'sticky': ~ } ]
tags: [ { name: 'api_platform.filter', id: 'course.sticky_boolean_filter' } ]
parent: 'api_platform.doctrine.orm.boolean_filter'
arguments: [{'sticky': ~}]
tags: [{name: 'api_platform.filter', id: 'course.sticky_boolean_filter'}]
_instanceof:
Chamilo\CoreBundle\Tool\ToolInterface:

Loading…
Cancel
Save