[imp] Removing "whitelist" and "blacklist" menu items
Michael M Slusarz
slusarz at horde.org
Fri Aug 15 01:00:36 UTC 2014
Quoting Patrick Boutilier <boutilpj at ednet.ns.ca>:
> On 08/14/2014 01:19 PM, Brett Charbeneau wrote:
>>
>>> Quoting Jan Schneider <jan <at> horde.org>:
>>>
>>> No, it should be sufficient to lock the spam rule preference.
>>
>> Hey Jan!
>>
>> I appreciate your chiming in.
>> I've tried adding
>>
>> $_prefs['filter']['Locked'] = true;
>>
>> and
>>
>> $_prefs['spam']['Locked'] = true;
>>
>> to registry.local.php, but "Spam" continues to show under "New
>> Rule" and I still get the "Spam Filter" under "Existing Rules".
>> What am I doing wrong to get rid of both?
>>
>
>
> That should be in prefs.local.php
And the array key is "locked", not "Locked" (PHP array/hash keys are
case-sensitive).
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the imp
mailing list