6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/27/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10455] Cannot disable available filter rules using Sieve
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ ..__ .__..___ | \ || \| |[__ |__/\__||__/|__||
Comment
> I'm attempting to disable/remove all of the rules available by > default in Ingo. In prefs.php, there are five preferences (one for > each of whitelist, blacklist, forward, vacation, spam). Locking these > is supposed to disable them and remove them from the filter list for > the user. > > However, locking all five preferences only removes 'whitelist' and > 'blacklist' from the filter list in Ingo. I believe that the reason > for this is as follows: > > This functionality is provided in lib/Ingo.php on lines 70-85. It > creates an array called $categories. Then, for each of the five > preferences above, it attempts to remove that option from the > categories array. I believe the problem is that it's unsetting the > element in the array whose position is, for example, > Ingo_Storage::ACTION_BLACKLIST instead of the element in the array > whose value is Ingo_Storage::ACTION_BLACKLIST. > > On my Horde server, I replaced that code with the patch I've > included, which produces the functionality I expect.
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