|
|
|
|
@ -509,8 +509,14 @@ function display_add_form($dropbox_unid, $viewReceivedCategory, $viewSentCategor |
|
|
|
|
// List of all users in this course and all virtual courses combined with it |
|
|
|
|
if (api_get_session_id()) { |
|
|
|
|
$complete_user_list_for_dropbox = array(); |
|
|
|
|
if (api_get_setting('dropbox_allow_student_to_student')=='true' || $_user['status'] != STUDENT) { |
|
|
|
|
$complete_user_list_for_dropbox = CourseManager :: get_user_list_from_course_code($course_info['code'], api_get_session_id()); |
|
|
|
|
if (api_get_setting('dropbox_allow_student_to_student') == 'true' || $_user['status'] != STUDENT) { |
|
|
|
|
$complete_user_list_for_dropbox = CourseManager:: get_user_list_from_course_code( |
|
|
|
|
$course_info['code'], |
|
|
|
|
api_get_session_id(), |
|
|
|
|
null, |
|
|
|
|
null, |
|
|
|
|
0 |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$hideCoach = api_get_configuration_value('dropbox_hide_course_coach'); |
|
|
|
|
|