[Rejected] unnecessary fallback for zero users at newest member stat
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
You're totally right but it doesn't hurt anyone having that there, there are many other issues which require our attention now. I'm rejecting this though you raise a valid point. Thanks Smile
All my plugins are available for free at MyBB Extend and on my GitHub. MyBB-Plugins.com has been closed and none of my plugins are officially maintained or supported.

Forum Jump:

Users browsing this thread: 1 Guest(s)