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