You are here

function activityhistory_user in Activity 6

Same name and namespace in other branches
  1. 5.4 contrib/activityhistory/activityhistory.module \activityhistory_user()

Implementation of hook_user().

File

contrib/activityhistory/activityhistory.module, line 37

Code

function activityhistory_user($op, &$edit, &$account, $category = NULL) {
  switch ($op) {
    case 'delete':
      db_query('DELETE FROM {activity_history} WHERE uid = %d', $account->uid);
      break;
  }
}