Optimize privacy list SQL calls when no privacy lists used

Description

For most servers, there will be no privacy lists stored since most clients don't store them. In that case, it doesn't make sense to do repeated database calls looking for privacy lists. Therefore, optimize for the case that there are no lists.

Environment

None
Fixed

Assignee

MattM

Reporter

MattM