function user_delete

cis7 user.module user_delete($uid)
cle7 user.module user_delete($uid)
elmsmedia7 user.module user_delete($uid)
icor7 user.module user_delete($uid)
meedjum_blog7 user.module user_delete($uid)
mooc7 user.module user_delete($uid)

Delete a user.

Parameters

$uid: A user ID.

5 calls to user_delete()
bakery_request_account in sites/all/modules/ulmus/bakery/bakery.module
Request account information from master to create account locally.
FeedsUserProcessor::entityDeleteMultiple in sites/all/modules/ulmus/feeds/plugins/FeedsUserProcessor.inc
Delete multiple user accounts.
lti_tool_provider_memberships_drop_member in sites/all/modules/ulmus/lti_tool_provider/lti_tool_provider_memberships/lti_tool_provider_memberships.module
Drop membership, optionally delete content and account.
views_bulk_operations_user_cancel_action in sites/all/modules/ulmus/views_bulk_operations/actions/user_cancel.action.inc
_user_cancel in modules/user/user.module
Last batch processing step for cancelling a user account.
6 string references to 'user_delete'
trigger_test_action_info in modules/trigger/tests/trigger_test.module
Implements hook_action_info().
trigger_trigger_info in modules/trigger/trigger.module
Implements hook_trigger_info().
trigger_user_cancel in modules/trigger/trigger.module
Implements hook_user_cancel().
trigger_user_delete in modules/trigger/trigger.module
Implements hook_user_delete().
user_delete_multiple in modules/user/user.module
Delete multiple user accounts.

... See full list

File

modules/user/user.module, line 2508
Enables the user registration and login system.

Code

function user_delete($uid) {
  user_delete_multiple(array($uid));
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.