You are here

function opigno_quiz_app_user_delete in Opigno Quiz App 7

Implements hook_user_delete().

File

./opigno_quiz_app.module, line 277
Module file. Defines module hooks.

Code

function opigno_quiz_app_user_delete($account) {

  // Delete user rows from custom table.
  db_delete('opigno_quiz_app_course_latest_viewed')
    ->condition('uid', $account->uid)
    ->execute();
}