Go out the window

To be abandoned, to go out of effect.

The school dress code went out the window when the new principal arrived.