<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Turba favourites driver does not provide removeUserData function</title> 
  <pubDate>Fri, 10 Apr 2026 15:26:36 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8757</link> 
  <atom:link rel="self" type="application/rss+xml" title="Turba favourites driver does not provide removeUserData function" href="https://bugs.horde.org/ticket/8757/rss" /> 
  <description>Turba favourites driver does not provide removeUserData function</description> 
 
   
   
  <item> 
   <title>Turba API function removeUserData calls removeUserData for c</title> 
   <description>Turba API function removeUserData calls removeUserData for configured contact sources. Favourites driver does not implement this function and an error is returned: Removing user data is not supported in the current address book storage driver. Attached patch implements this functionality by adding a new function to IMP API.</description> 
   <pubDate>Mon, 07 Dec 2009 16:27:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8757#t57033</link> 
  </item> 
   
  <item> 
   <title>I could be wrong, but I believe this data could also be used</title> 
   <description>I could be wrong, but I believe this data could also be used for auditing and reporting purposes, so should not be deleted.</description> 
   <pubDate>Mon, 07 Dec 2009 18:50:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8757#t57040</link> 
  </item> 
   
  <item> 
   <title>The information could be removed by IMP, though.</title> 
   <description>The information could be removed by IMP, though.</description> 
   <pubDate>Mon, 07 Dec 2009 19:47:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8757#t57043</link> 
  </item> 
   
  <item> 
   <title>Ah, right, it garbage collects the storage and deletes all e</title> 
   <description>Ah, right, it garbage collects the storage and deletes all entries before a certain time. In that case, though, I still don&#039;t think it makes sense to add this, since those entries will be gc&#039;d as more email is sent from other users anyway...</description> 
   <pubDate>Mon, 07 Dec 2009 19:58:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8757#t57044</link> 
  </item> 
   
  <item> 
   <title>I agree with Michael.</title> 
   <description>I agree with Michael.</description> 
   <pubDate>Mon, 07 Dec 2009 21:19:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8757#t57046</link> 
  </item> 
   
  <item> 
   <title>The case I have in mind is when a user is deleted from the s</title> 
   <description>The case I have in mind is when a user is deleted from the system and a new one is created with the same username (this is not unusual in large installations with automatically generated usernames). For these cases I want to make sure all data from the old user is completely removed from the database. Leaving the favourites addressbook in the database allows the new user to see the mail recipients of the previous user.</description> 
   <pubDate>Tue, 08 Dec 2009 08:58:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8757#t57052</link> 
  </item> 
   
  <item> 
   <title>Okay, that&#039;s a use case that we should reconsider. But why a</title> 
   <description>Okay, that&#039;s a use case that we should reconsider. But why are you overcomplicating things by adding a new API method and routing the deletion through Turba? Why don&#039;t you simply implement a removerUserData method in IMP&#039;s API?</description> 
   <pubDate>Tue, 08 Dec 2009 10:53:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8757#t57056</link> 
  </item> 
   
  <item> 
   <title>Yes, the problem is that favourites is implemented in IMP bu</title> 
   <description>Yes, the problem is that favourites is implemented in IMP but accessed through Turba. Turba calls removeUserData in turba/lib/Driver/favourites.php, but since this wasn&#039;t implemented an error was returned by the default implementation in turba/lib/Driver.php. So I added removeUserData to turba/lib/Driver/favourites.php but also had to create a new api call to pass the request to IMP. Don&#039;t know if there is a cleaner way to do this, perhaps by moving favourites functionality from IMP into Turba.</description> 
   <pubDate>Tue, 08 Dec 2009 11:33:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8757#t57057</link> 
  </item> 
   
  <item> 
   <title>&gt; Yes, the problem is that favourites is implemented in IMP </title> 
   <description>&gt; Yes, the problem is that favourites is implemented in IMP but 
&gt; accessed through Turba. Turba calls removeUserData in 
&gt; turba/lib/Driver/favourites.php, but since this wasn&#039;t implemented an 
&gt; error was returned by the default implementation in 
&gt; turba/lib/Driver.php. So I added removeUserData to 
&gt; turba/lib/Driver/favourites.php but also had to create a new api call 
&gt; to pass the request to IMP. Don&#039;t know if there is a cleaner way to 
&gt; do this, perhaps by moving favourites functionality from IMP into 
&gt; Turba.

I agree with Jan. Turba is only a consumer of the favorites data, IMP is responsible for it. You should change your patch to implement a removeUserData api inside of IMP itself.  If you are concerned about getting an error message from Turba, I guess we can override the removeUserData method in favorites.php to have it simply return true, or perhaps a more accurate error message.

</description> 
   <pubDate>Tue, 02 Mar 2010 14:59:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8757#t58113</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
