Officials knew mayor's phone setting caused texts to vanish