Skip to content

Commit

Permalink
Remove unrequired join table from query - boosts efficiency ~15x - re…
Browse files Browse the repository at this point in the history
…fs BT#9436
  • Loading branch information
ywarnier committed Mar 26, 2015
1 parent 55afa7b commit b5ecad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/usermanager.lib.php
Expand Up @@ -2726,7 +2726,7 @@ public static function get_personal_session_course_list($user_id)
}

$sql = "SELECT DISTINCT id, name, date_start, date_end
FROM $tbl_session_user, $tbl_session
FROM $tbl_session
WHERE (
id_coach = $user_id
)
Expand Down

0 comments on commit b5ecad1

Please sign in to comment.