[turba] Feature Idea: Delete Personal Addressbook..

James james@james-web.net
Thu, 9 May 2002 17:13:49 -0400


I'd say, take a look at how Prefs_sql uses store() and work backwards
and use "DELETE FROM horde.turba_objects WHERE owner_id = [...]" instead
of INSERT/UPDATE as store() does.  

If I had a non-production setup to test on, I'd try to write the changes
myself.

Of course I could be horribly wrong on this :)

- James

> -----Original Message-----
> From: turba-bounces@lists.horde.org
[mailto:turba-bounces@lists.horde.org]
> On Behalf Of Robert Ribnitz
> Sent: Thursday, May 09, 2002 4:42 PM
> To: turba@lists.horde.org
> Subject: [turba] Feature Idea: Delete Personal Addressbook..
> 
> Hello,
> 
> I am using the CVS version of turba (20020509) with the cvs
> version of imp and kronolith (same date).
> 
> Some user of my site came to me that something in importing the
> addresses went wrong, and that she wanted to delete her whole
> addressbook (sql database).
> 
> Behind the scenes, all personal addressbooks are just one big
> database, but users don't need to know that.
> 
> So, my question where do i need to start looking if I want to
> implement a 'delete contents of personal addressbook' button?
> 
> --
> Turba mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org