diff --git a/main/inc/lib/add_course.lib.inc.php b/main/inc/lib/add_course.lib.inc.php index 7f5107f232..9b911b078e 100755 --- a/main/inc/lib/add_course.lib.inc.php +++ b/main/inc/lib/add_course.lib.inc.php @@ -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 diff --git a/main/inc/lib/api.lib.php b/main/inc/lib/api.lib.php index 2592531c30..4653d39493 100644 --- a/main/inc/lib/api.lib.php +++ b/main/inc/lib/api.lib.php @@ -1,13 +1,13 @@ deleteValuesByItem($courseId); - - // Add event to system log Event::addEvent( LOG_COURSE_DELETE, diff --git a/main/install/install.lib.php b/main/install/install.lib.php index 4b5bde2ec6..e6f9cd6f4c 100755 --- a/main/install/install.lib.php +++ b/main/install/install.lib.php @@ -512,8 +512,8 @@ function get_language_folder_list() * WARNING - this function relies heavily on global variables $updateFromConfigFile * and $configFile, and also changes these globals. This can be rewritten. * - * @param string $param the parameter of which the value is returned - * @param string $updatePath If we want to give the path rather than take it from POST + * @param string $param the parameter of which the value is returned + * @param string $updatePath If we want to give the path rather than take it from POST * * @return string the value of the parameter * diff --git a/main/social/personal_data.php b/main/social/personal_data.php index fdee46ab9e..1b5c75d27f 100644 --- a/main/social/personal_data.php +++ b/main/social/personal_data.php @@ -373,11 +373,11 @@ if (api_get_setting('allow_terms_conditions') === 'true') { $permissionBlock .= get_lang('Date').': '.api_get_local_time($legalTime).'

'; $permissionBlock .= $formToString; - /*$permissionBlock .= Display::url( - get_lang('DeleteLegal'), - api_get_self().'?action=delete_legal&user_id='.$userId, - ['class' => 'btn btn-danger btn-xs'] - );*/ + /*$permissionBlock .= Display::url( + get_lang('DeleteLegal'), + api_get_self().'?action=delete_legal&user_id='.$userId, + ['class' => 'btn btn-danger btn-xs'] + );*/ } else { // @TODO add action handling for button $permissionBlock .= Display::url( diff --git a/src/CoreBundle/Traits/CourseTrait.php b/src/CoreBundle/Traits/CourseTrait.php index 42b5d55864..82e9cff50e 100644 --- a/src/CoreBundle/Traits/CourseTrait.php +++ b/src/CoreBundle/Traits/CourseTrait.php @@ -6,7 +6,7 @@ namespace Chamilo\CoreBundle\Traits; use Chamilo\CoreBundle\Entity\Course; /** - * Trait CourseTrait + * Trait CourseTrait. */ trait CourseTrait { @@ -30,4 +30,3 @@ trait CourseTrait return $this; } } -