From c6d848a6bcd3e51d279db8fe21666b3f32a73416 Mon Sep 17 00:00:00 2001 From: Cristian Fasanando Date: Fri, 12 Mar 2010 09:14:45 -0500 Subject: [PATCH] filtered assigned teachers to platform administrator for teachers graph block - partial BT#540 --- .../block_teacher_graph/block_teacher_graph.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/dashboard/block_teacher_graph/block_teacher_graph.class.php b/plugin/dashboard/block_teacher_graph/block_teacher_graph.class.php index 7e91673341..c336e127e9 100755 --- a/plugin/dashboard/block_teacher_graph/block_teacher_graph.class.php +++ b/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); - } + //} } }