San Francisco obviously needs more stringent firearms legislation, their current laws are not preventing this sort of thing. If in doubt: more laws.