Minor - format code

pull/3661/head
Julio Montoya 5 years ago
parent f6bd3f5765
commit 0607b355cb
  1. 2
      main/inc/lib/ExerciseCategoryManager.php
  2. 3
      main/inc/lib/export.lib.inc.php

@ -1,4 +1,5 @@
<?php <?php
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
use Chamilo\CourseBundle\Entity\CExerciseCategory; use Chamilo\CourseBundle\Entity\CExerciseCategory;
@ -117,7 +118,6 @@ class ExerciseCategoryManager extends Model
*/ */
public function save($params, $showQuery = false) public function save($params, $showQuery = false)
{ {
$courseId = api_get_course_int_id();
$em = Database::getManager(); $em = Database::getManager();
$category = new CExerciseCategory(); $category = new CExerciseCategory();
$category $category

@ -1,4 +1,5 @@
<?php <?php
/* See license terms in /license.txt */ /* See license terms in /license.txt */
use Chamilo\CoreBundle\Component\Editor\Connector; use Chamilo\CoreBundle\Component\Editor\Connector;
@ -15,8 +16,6 @@ use Symfony\Component\Filesystem\Filesystem;
* This is the export library for Chamilo. * This is the export library for Chamilo.
* Include/require it in your code to use its functionality. * Include/require it in your code to use its functionality.
* Several functions below are adaptations from functions distributed by www.nexen.net. * Several functions below are adaptations from functions distributed by www.nexen.net.
*
* @package chamilo.library
*/ */
class Export class Export
{ {

Loading…
Cancel
Save