[PHPLIB] $user->delete() broken? From: Trevor Cordes (tcordes <email protected>)
Date: 02/07/00

I need a way delete a registered user. The documentation for the
user class says delete() "works as expected". Yet when I call it,
it doesn't seem to do *anything* whatsoever.

I basically want to return the user back to "nobody" *and* delete his
entry from the auth_user table. In other words, return him (and my
program/database) precisely to the state he was at before he even
registered as a new user.

I'm not sure if this would require a $sess->delete as well, and I am
confused whether or not page_close is required.

If this functionality doesn't exist, how would I go about adding it?
If I don't want to modify PHPLIB code, can I just do a query from
within my page that will do a SQL delete of the appropriate row?

Thanks!

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.