Class Coursemanager not found -> should have been CourseManager with capital M see #4806

skala
Julio Montoya 13 years ago
parent 7180911b4f
commit 55b0470fe9
  1. 2
      index.php
  2. 2
      main/announcements/announcements.inc.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';

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

Loading…
Cancel
Save