Fixed SQL error on GiveCreditsToUsers.

Also removed T_EmptyCallback.