remove old MySQL function