Skip to content
Permalink
Browse files

Setting "session_list_show_count_users" show only students see BT#14910

Not teachers or drh count
  • Loading branch information...
jmontoyaa committed Oct 3, 2018
1 parent 60eaebf commit 5603615df8d7763431a5276f5ba3559a027f3319
Showing with 2 additions and 3 deletions.
  1. +2 −3 main/inc/lib/sessionmanager.lib.php
@@ -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
);
}
@@ -8189,7 +8189,6 @@ public static function getGridColumns(
'name' => 'id',
'index' => 's.id',
'width' => '160',
'width' => '160',
'hidden' => 'true',
],
[

0 comments on commit 5603615

Please sign in to comment.
You can’t perform that action at this time.