[horde] Question about removing userdata from horde (mysql)
Patrick Boutilier
boutilpj at ednet.ns.ca
Tue Jul 3 12:55:24 UTC 2007
Anant Athavale wrote:
> Hello Jacques:
>
> I have used your script for the first time and it worked perfectly.
> But, the script does not have option to delete horde_history table
> entries for a user. Have you updated your script to do that also.
> Please send me your latest script.
>
> Regards,
> anant.
>
>
That is fairly easy to add to the script. Here are the two sql commands
you need to add to the appropriate commands in the script:
SELECT count(*) from $DB.horde_histories WHERE history_who='$USER'
DELETE from $DB.horde_histories WHERE history_who='$USER
<snip>
More information about the horde
mailing list