diff --git a/index.php b/index.php index 0d285ddc2c..a95bcf0043 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,7 @@ define('CHAMILO_HOMEPAGE', true); $language_file = array('courses', 'index'); /* Flag forcing the 'current course' reset, as we're not inside a course anymore. */ -// Maybe we should change this into an api function? an example: Coursemanager::unset(); +// Maybe we should change this into an api function? an example: CourseManager::unset(); $cidReset = true; require_once 'main/inc/global.inc.php'; diff --git a/main/announcements/announcements.inc.php b/main/announcements/announcements.inc.php index 32b3987777..8c754f0b98 100644 --- a/main/announcements/announcements.inc.php +++ b/main/announcements/announcements.inc.php @@ -23,7 +23,7 @@ class AnnouncementManager { public function parse_content($content, $course_code) { $reader_info = api_get_user_info(api_get_user_id()); $course_info = api_get_course_info($course_code); - $teacher_list = Coursemanager::get_teacher_list_from_course_code($course_info['code']); + $teacher_list = CourseManager::get_teacher_list_from_course_code($course_info['code']); $teacher_name = ''; if (!empty($teacher_list)) {