Elgg/Elgg — pull request #6947 by mrclay (2014-06-20 03:31:53+00:00)
Title: perf(session): speed up elgg_is_admin_user()

This function currently makes one query and generally hits the query cache
several more times. This generally eliminates the query and avoids the overhead
of the DB service. If a query must be done we use a minimal result set.