* Login via Twitter
* Login as Drupal admin
* Delete user account associated with Twitter
=> Table twitter_account not updated by removing associated entry.
* Attempt to login again via Twitter
=> Error:
user warning: Duplicate entry '' for key 'name' query: INSERT INTO users (created) VALUES (1284499168) in /var/www/drupal/modules/user/user.module on line 327.
* Manually delete entry in table twitter_account.
* Attempt to login again via Twitter
=> Login successful
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 911646_delete_twitter_account.patch | 414 bytes | brianpkennedy |
Comments
Comment #1
brianpkennedy commentedHere's a patch to delete a row from the twitter_account table when the user is being deleted. It was made off of the beta3 release.
Comment #2
steinmb commentedFixed the latest version. Pls. have a look at function twitter_user_delete()
Comment #3
pfructuoso commentedI have this problem in Drupal 7 version. This function in twitter.module solves it.