2014-07-31, 09:50 AM
There is a fallback if there is no newest member found for being shown in the stats.
This fallback is unnecessary because:
- there must be at least 1 member (admin/owner of the site)
- if there are zero members the forum is corrupt and broken so it shouldn't be expected as a normal case
This files and lines are related to the fallback I'm talking about:
1) https://github.com/mybb/mybb/blob/3b3455...ng.php#L49
2) https://github.com/mybb/mybb/blob/3b3455...x.php#L287
This fallback is unnecessary because:
- there must be at least 1 member (admin/owner of the site)
- if there are zero members the forum is corrupt and broken so it shouldn't be expected as a normal case
This files and lines are related to the fallback I'm talking about:
1) https://github.com/mybb/mybb/blob/3b3455...ng.php#L49
2) https://github.com/mybb/mybb/blob/3b3455...x.php#L287