It's probably better to delete the old code.  If you're nervous about breaking it, write some tests.