From 55b0470fe93da35f811ce0ad0f84ddc8921187e6 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 28 May 2012 11:07:41 +0200 Subject: [PATCH] Class Coursemanager not found -> should have been CourseManager with capital M see #4806 --- index.php | 2 +- main/announcements/announcements.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)) {