Remove unused setUserVars utility method

That method was moved to the external storage recently so
isn't needed here any more.