6.0.0-alpha12
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
6/12/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8757] Turba favourites driver does not provide removeUserData function
*
Your Email Address
*
Spam protection
Enter the letters below:
.__.. . ..__ .__. | || |__|| \| | |__\|___| ||__/|__\
Comment
>> 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'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't know if there is a cleaner way to >> do this, perhaps by moving favourites functionality from IMP into >> 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. > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers