function twitter_user_delete in Twitter 7.5
Same name and namespace in other branches
- 6.2 twitter.inc \twitter_user_delete()
- 6.3 twitter.inc \twitter_user_delete()
- 6.4 twitter.inc \twitter_user_delete()
- 7.6 twitter.module \twitter_user_delete()
- 7.3 twitter.module \twitter_user_delete()
- 7.4 twitter.module \twitter_user_delete()
Implements hook_user_delete().
Removes user's Twitter accounts and tweets
File
- ./
twitter.module, line 568 - Provides API integration with the Twitter microblogging service.
Code
function twitter_user_delete($account) {
module_load_include('inc', 'twitter');
foreach ($account->twitter_accounts as $twitter_account) {
twitter_account_delete($twitter_account->id);
}
}