Removed useless SQL query from account activation code. Thanks to @Graber.