You are here

function messaging_simple_user_delete in Messaging 7

Implementation of hook_user_delete().

File

messaging_simple/messaging_simple.module, line 68
Simple messaging using html page. Messaging method plug-in

Code

function messaging_simple_user_delete($user) {

  // Delete user data from tables
  db_delete('messaging_simple')
    ->condition('uid', $user->uid)
    ->execute();
}