Lawn Tractor Question

My Snapper did have a single wire anti-backfire solenoid /fuel shut off under the bowl. When it failed the motor would not start at all.
I installed a inline mechanical fuel shut off valve and cut the plunger out of the solenoid. Deleted the one wire.