@ -385,6 +385,7 @@ function check_system_version() {
// The number of users
// The number of users
$number_of_users = Statistics::count_users();
$number_of_users = Statistics::count_users();
$number_of_active_users = Statistics::count_users(null,null,null,true);
$number_of_active_users = Statistics::count_users(null,null,null,true);
$number_of_sessions = Statistics::count_sessions();
$data = array(
$data = array(
'url' => api_get_path(WEB_PATH),
'url' => api_get_path(WEB_PATH),
@ -394,6 +395,7 @@ function check_system_version() {
'numberofcourses' => $number_of_courses,
'numberofcourses' => $number_of_courses,
'numberofusers' => $number_of_users,
'numberofusers' => $number_of_users,
'numberofactiveusers' => $number_of_active_users,
'numberofactiveusers' => $number_of_active_users,
'numberofsessions' => $number_of_sessions,
//The donotlistcampus setting recovery should be improved to make
//The donotlistcampus setting recovery should be improved to make
// it true by default - this does not affect numbers counting
// it true by default - this does not affect numbers counting
'donotlistcampus' => api_get_setting('donotlistcampus'),
'donotlistcampus' => api_get_setting('donotlistcampus'),