filtered assigned teachers to platform administrator for teachers graph block - partial BT#540

skala
Cristian Fasanando 15 years ago
parent 14370b0ee0
commit c6d848a6bc
  1. 6
      plugin/dashboard/block_teacher_graph/block_teacher_graph.class.php

@ -37,11 +37,11 @@ class BlockTeacherGraph extends Block {
$this->user_id = $user_id;
$this->path = 'block_teacher_graph';
if ($this->is_block_visible_for_user($user_id)) {
if (api_is_platform_admin()) {
/*if (api_is_platform_admin()) {
$this->teachers = UserManager::get_user_list(array('status' => COURSEMANAGER));
} else {
} else {*/
$this->teachers = UserManager::get_users_followed_by_drh($user_id, COURSEMANAGER);
}
//}
}
}

Loading…
Cancel
Save