Deleted Code

At the time, I wrote this code to check if a query was successful or not, now I have no need for it.