|
|
|
|
@ -2,9 +2,7 @@ |
|
|
|
|
/* For licensing terms, see /license.txt */ |
|
|
|
|
|
|
|
|
|
use Chamilo\CoreBundle\Framework\Container; |
|
|
|
|
use Chamilo\CourseBundle\Entity\CTool; |
|
|
|
|
use Chamilo\CourseBundle\Entity\CToolIntro; |
|
|
|
|
use Chamilo\CourseBundle\Tool\BaseTool; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Class AddCourse. |
|
|
|
|
@ -448,7 +446,6 @@ class AddCourse |
|
|
|
|
$settingsManager = CourseManager::getCourseSettingsManager(); |
|
|
|
|
$settingsManager->setCourse($course); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$alert = api_get_setting('email_alert_manager_on_new_quiz'); |
|
|
|
|
if ($alert === 'true') { |
|
|
|
|
$defaultEmailExerciseAlert = 1; |
|
|
|
|
@ -936,7 +933,7 @@ class AddCourse |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @param array $courseInfo |
|
|
|
|
* @param array $courseInfo |
|
|
|
|
* @param int $counter |
|
|
|
|
* @param array $file |
|
|
|
|
* @param int $authorId |
|
|
|
|
|