Thanks for the great module it would be even nicer if it would be possible to delete users by role. :p

CommentFileSizeAuthor
#1 delete_all_773224.patch2.27 KBboran

Comments

boran’s picture

Status: Active » Needs review
StatusFileSize
new2.27 KB

Attached is a patch where one can choose which roles to excluded from deletion.
The patch is against the dev release form today (2.Nov.10). Please test.

muschpusch’s picture

i will... Thank you!

muschpusch’s picture

Sorry for the late response but i was too busy with other projects. How can i get the dev release from 2.nov.10???? I tried the current dev release and deleting fails:

user warning: Table 'streetshop2rhizo.sequences' doesn't exist query:
UPDATE sequences SET id = 1 WHERE name = 'users_uid' in .../modules/delete_all/delete_all.module on line 389.
Done. Number of users deleted: 5.

boran’s picture

Could you comment out that line and try again please? I think that should be removed, legacy.

Did it actually work for you, it says 5 users deleted above.

Anonymous’s picture

Has this been committed?

avpaderno’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

I am closing this issue because is for a branch that is now not supported. Only branches compatible with Drupal 7, Drupal 9, or Drupal 10 are now supported.