Fear of community harm behind repeal, mayor says