Do we really need this? As for I understand the main goal of this function is to transform existing table with existing data to newer format. As we have never changed the privacy table format (at least I don't remember that) since we forked from ejabberd, I think we can remove this function.