I haven't actually tried this module, but on reading its code (very, very short!), I think I see a bug:
It doesn't actually check to see if the anon user exists before creating it. Rather, it deletes it every time it runs (on cron, and on install) before recreating the record. But it does recreate it. So that is not a real problem.
The problem is on uninstall, where it still deletes the anon user row, but doesn't recreate it. After that, the module is uninstalled, and won't run again.
... And you are left with no anonymous user row. Solution? Install the Anonymous User module!! :-) This seems like an evil way to keep people hooked on your product. ;-) But I suspect it's an honest bug.
To fix this, I would simply remove the whole anonymous_user_uninstall() function. I don't see why this module needs to do anything when it is being uninstalled.
Comments
Comment #1
dealancer commentedLOL. this is why this module is so popular, even more then I have expected :D
Well, this is a major issue, needs to be fixed.