Phorum/Core — pull request #881 by GroM (2012-03-08 15:12:51+00:00)
Title: Get moderator list

Current code doesn't take into account field active. I don't think that inactive admin or moderator should be taken into account.
This function has bad performance in case admins are included.
Changing index active from (active) to (active, admin) and using union instead of or reduces time from 1.45s to almost 0.