Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Latest (Feb '11) download, though the problem was the same on Dec version.
- Created a new User view
- Filter: User: active <> active (blocked)
- Fields: User: name, User: email and a delete link.
Two issues:
1. There is a record displayed for uid 0, but there is no User: ID filter with which to filter it out unless I'm just not seeing it.
2. The delete link for a given user reads as user/uid/delete?destination=path/to/view but when clicked (a) goes to the user's profile and (b) does not delete the user - I'm logged in as user 1.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1057810_2.patch | 525 bytes | mariusz.slonina |
Comments
Comment #1
dawehnerFor 1)
There is one.
2) Drupal7 just has the user cancel link. We should remove the user delete link from views, too.
Please feel free to create a patch.
Comment #2
mariusz.slonina CreditAttribution: mariusz.slonina commentedIs it just a matter of deleting views_handler_field_user_link_delete.inc and applying this patch?
Comment #3
dawehnerThanks. Commited to 7.x
Comment #4
Jackinloadup CreditAttribution: Jackinloadup commentedpatch also needs to remove this line
views.info +170
files[] = modules/user/views_handler_field_user_link_delete.inc