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.
This seems like a great module! Could you by any chance make a version of this for Drupal 5?
Thanks!
Comments
Comment #1
markus_petrux CreditAttribution: markus_petrux commentedOk, here it is:
http://drupal.org/node/336923
It's beta because I just wrote it, but I could not test it right now. Please, confirm if it works, but please don't try on a production site. When this module installed, you should not be able to delete user 1 and current user using /user/1/delete, and from admin/user/user either.
Difference between this one and the version for Drupal 6, is that in Drupal 5, user 0 cannot be deleted, so this one is not protected here.
Comment #2
markus_petrux CreditAttribution: markus_petrux commentedOops! Just notided one small bug. Please, be aware of this commit. The $form_id for the user edit form in Drupal 5 is different than the one used in Drupal 6, which is the code I used to write the backport.
Anyway, the beta1 package can still be tested. Just apply the same change as in the referred commit.
Comment #3
markus_petrux CreditAttribution: markus_petrux commentedOk, already tested.
Comment #4
markus_petrux CreditAttribution: markus_petrux commentedComment #5
slinc CreditAttribution: slinc commentedThanks!