-
Improvement
-
Resolution: Fixed
-
Minor
-
3.0.4
-
MOODLE_30_STABLE
-
MOODLE_32_STABLE
-
MDL-54617-master -
On the online users block there is a hardcoded limit of 50 users to show and this same limit is used to also define if the number of online users will be shown or not.
There can be a (performance) reason for not showing more than 50 users, but this do not holds true for the count of online users.
It seems to be better to always show how many users there are online, may it be 0 or 1 million.
This issue solves this also removing an "if" (less code is better code).