PDA

View Full Version : How can I remove a datastore entry in uninstall code?


JamesAB
01-29-2009, 04:59 AM
I'm using the datastore in a product. A typical entry looks like this:
build_datastore('jab_servers', serialize($jab_thumbnail_servers), TRUE);

The install code is working fine.

However, I haven't found the method to completely remove my data from the datastore if the product is being uninstalled?

What can I use in the uninstall code?
Should I use a mySQL query to manually remove it?
Or is there a better way built in?

Thanks for your help,
James

Dismounted
01-29-2009, 05:22 AM
Just remove the entry from the database - at least that's what I heard to do ages ago.