Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
djdevinThis 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.