Minor - format code

pull/4020/head
Julio 3 years ago
parent c76bb699ee
commit c68ce4ddd4
  1. 1
      public/main/exercise/answer.class.php
  2. 3
      public/main/exercise/exercise.class.php
  3. 1
      public/main/inc/lib/internationalization.lib.php

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

@ -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;

Loading…
Cancel
Save