takeid/crunchysignup — pull request #9 by gondo (2013-06-09 03:34:59+00:00)
Title: BUG with token cleanup

can't use condition "state != 1" as its wrong for at least 2 different reasons:
1. mysql 5.5 would not include null results therefore this query completely miss its point
2. this would whipped out any other custom states.

suggestion: use state with some number rather then `null`, f.e. 10, to indicate that user is in no-verified state. `null` might be allright but its not meaningful.

related to #4 and all my other previous pull requests.