A person is guilty of a public nuisance who does not act or is guilty of illegal omission, which causes any common injury, danger or annoyance to the public or to the people in general who dwell or occupy property in the vicinity or which must necessarily cause injury, obstruction, danger or annoyance to persons who may have occasions to use any public right.