[support] Remove user: do not delete user

Davide Michel 'ZioBudda' Morelli michel at ziobudda.net
Tue Jan 15 14:54:28 UTC 2008


Hi all. When a user want to delete from my site , for an italian privacy 
law (in words more and more simple), I can not delete him/her data from 
my DB but I can only delete his personal data (rewrite it with REMOVED 
is enough), but not the email because the police can ask me who write a 
comment or a node for some month after him/her delete him/her account. 
(The italian policy law is more and more "articulate").

I know that there is a hook_user() but how can I stop Drupal from 
deleting my user ?  And I don't want the drupal change the uid 
associated to the nodes that the users has write, too.

Tnx for all.

-- 
Michel 'ZioBudda' Morelli                       michel at ziobudda.net
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ajaxblog.it        			MSN: michel at ziobuddalabs.it                   
						JABBER: michel at gmail.com



More information about the support mailing list