Minor cosmetic changes

skala
Julio Montoya 12 years ago
parent b0951147b8
commit a4f3a618e8
  1. 3
      main/announcements/announcements.inc.php
  2. 1
      main/calendar/agenda_js.php

@ -734,12 +734,11 @@ class AnnouncementManager {
/**
* this function gets all the users of the course,
* including users from linked courses
* @todo deprecate this function, use CourseManager class
*/
public static function get_course_users() {
//this would return only the users from real courses:
//$user_list = CourseManager::get_user_list_from_course_code(api_get_course_id());
$session_id = api_get_session_id();
if ($session_id != 0) {
$user_list = CourseManager::get_real_and_linked_user_list(api_get_course_id(), true, $session_id);
} else {

@ -181,7 +181,6 @@ if ((api_is_allowed_to_edit() || $is_group_tutor) && $course_code != '-1' && $ty
$group_list = CourseManager::get_group_list_of_course(api_get_course_id(), api_get_session_id());
}
$agenda = new Agenda();
//This will fill the select called #users_to_send_id
$select = $agenda->construct_not_selected_select_form($group_list, $user_list);

Loading…
Cancel
Save