remove unused function
Merge pull request #844 from dimagi/cleanup

remove unused function