Peanut butter was spread on the door handles at Senator O’Connor College School as part of a prank.

A parent at the school told CityNews her daughter could have died if she had tried to open the doors. She has a severe peanut allergy, the mom said, and the school called to warn her before the school opened.

“When someone does an intentional act of putting peanut butter (on door handles), that threatens their lives, that’s wrong. That’s an intentional act to hurt people. People with allergies … this puts them in peril,” said Kimberley Evans.

Her daughter, Hannah, questioned if the students behind the prank understood how serious the ramifications could have been.

“To say it bluntly it’s kind of stupid because it’s literally life and death…” she said.

Oil was also put on the stairs, John Yan, head of communications for the Toronto Catholic District School Board, said on Wednesday.

The graduation prank went “too far” and compromised the safety and security of the students. Two entire grades — Grade 11 and Grade 12 — have been sent home as the school investigates and cleans up.

“We want to make sure that any evidence or trace amounts of peanut butter are removed as it can be potentially life threatening for those with an allergy to peanut butter,” Yan added.

The school principal said disciplinary action may be taken once the investigation is finished.