The law prevented local governments from imposing such a ban . A San Francisco mayor tried in July to get a citywide referendum added to the November ballot . The legislation comes in response to an effort this summer by a San Francisco Bay Area advocacy group opposed to the practice to get a measure proposing a citywide ban added to the November 8 city ballot . The new law took effect immediately .
The law prevented local governments from imposing such a ban . A San Francisco mayor tried in July to get a citywide referendum added to the November ballot . The new law took effect immediately .