You are here

function uc_file_user_cancel in Ubercart 8.4

Same name and namespace in other branches
  1. 7.3 uc_file/uc_file.module \uc_file_user_cancel()

Implements hook_user_cancel().

User was deleted, so we delete all the files associated with them.

File

uc_file/uc_file.module, line 66
Allows products to be associated with downloadable files.

Code

function uc_file_user_cancel($edit, $account, $method) {
  uc_file_remove_user($account);
}