Skip to content

Commit

Permalink
Setting "session_list_show_count_users" show only students see BT#14910
Browse files Browse the repository at this point in the history
Not teachers or drh count
  • Loading branch information
jmontoyaa committed Oct 3, 2018
1 parent 60eaebf commit 5603615
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main/inc/lib/sessionmanager.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -614,9 +614,9 @@ public static function get_sessions_admin(
foreach ($sessions as $session) {
$session_id = $session['id'];
if ($showCountUsers) {
$session['users'] = SessionManager::get_users_by_session(
$session['users'] = self::get_users_by_session(
$session['id'],
null,
0,
true
);
}
Expand Down Expand Up @@ -8189,7 +8189,6 @@ public static function getGridColumns(
'name' => 'id',
'index' => 's.id',
'width' => '160',
'width' => '160',
'hidden' => 'true',
],
[
Expand Down

0 comments on commit 5603615

Please sign in to comment.