wiring issues in ceiling light
Check to see what is in the ceiling fan box. Sounds like when the ceiling fan got ripped out, it ripped out the wire nuts that connected it. 

If this was the first light on the circuit, then there were probably 3 wires in each wire nut -- source, lamp, and next light on circuit.  If you disconnected the source->next wires, it would explain your problem.