Uid 0 (AFAIK) is needed for some Drupal functionality, like anonymous user sessions.

Comments

Crell’s picture

I am aware that uid 0 is needed for some uses. But can you explain how this module is able to delete uid 0?

deekayen’s picture

Status: Active » Postponed (maintainer needs more info)
janusman’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

You're right. Didn't see the uid check in several lines, like this:

if ($user->uid && [...]

prevents deleting, etc. for uid==0.

It must have been the patch I was testing. I'll check that instead.

Apologies!