function oauth2_server_user_delete in OAuth2 Server 7
Implements hook_user_delete().
File
- ./
oauth2_server.module, line 157 - Provides OAuth2 server functionality.
Code
function oauth2_server_user_delete($account) {
// Delete a user's tokens if the account is deleted.
oauth2_server_delete_user_tokens($account->uid);
}