Author: overlordq
Description:
CheckUser is broken wrt Postgres and the new user hook. PG has a foreign key constraint on cuc_page_id to an entry in the page table, however on new users it tries to enter page id 0 which doesn't exist. I'm fairly sure this worked fine before, so I dont know what or when the behavior changes.
This completely breaks the new user log.