Removed an unneeded function call

This is dealt with in login.php instead.