The quiz module implements hook_user_cancel() but not hook_user_delete(). As a result user's results are deleted only when the user is cancelled, not when the user is deleted.
See the documentation of hook_user_cancel:

This hook is NOT invoked for the 'user_cancel_delete' account cancellation method. To react on this method, implement hook_user_delete() instead.

Comments

djdevin’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.