[dev] Hide empty app prefs in menu
Michael M Slusarz
slusarz at horde.org
Thu Aug 28 17:07:39 UTC 2014
Quoting Ralf Lang <lang at b1-systems.de>:
> On 28.08.2014 17:43, Michael M Slusarz wrote:
>> Quoting Ralf Lang <lang at b1-systems.de>:
>>
>>> On 28.08.2014 14:00, Lukas Weiss wrote:
>>>> hi,
>>>>
>>>> in the user preferences menu there are listed all installed apps.
>>>> is it possible to hide those which do not have any configured prefs?
>>>>
>>>> i get this notification for the passwd app und my own module:
>>>> "There are no preferences available for this application."
>>>>
>>>> thank you!
>>>>
>>> Not currently, afaik. Please create an enhancement ticket in
>>> http://bugs.horde.org
>>
>> This most likely won't be implemented. It would require us to parse
>> every preference from every active application on every page (and this
>> data can't be cached). That's a recipe for terrible performance.
>>
>> michael
>
> If this is the case, then yes it's not worth it. I just don't see why we
> cannot add an attribute in registry or something similar or why an app
> not having settings can't be cached - This won't change on the fly.
It can change on the fly. That's exactly the issue.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the dev
mailing list