function twitter_user_delete in Twitter 7.3
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.4 twitter.module \twitter_user_delete()
- 7.5 twitter.module \twitter_user_delete()
Implements hook_user_delete().
Removes user's Twitter accounts and tweets
File
- ./
twitter.module, line 302 - Provides API integration with the Twitter microblogging service.
Code
function twitter_user_delete($account) {
foreach ($account->twitter_accounts as $twitter_account) {
twitter_account_delete($twitter_account->id);
}
}