[horde] Block birthday from displaying on calendars

Luis Felipe Marzagao lfbm.andamentos at gmail.com
Wed Jan 7 21:25:05 UTC 2009


I´m trying to learn the framework. Once I get more into that, I´ll 
certainly try to collaborate with this issue.

Jan Schneider escreveu:
> Zitat von Luis Felipe Marzagao <lfbm.andamentos at gmail.com>:
>
>> Only changing the returned object does not solve, because the queries 
>> do get executed before that, so I just commented out the entire body 
>> of the function.
>>
>> It´s a [pretty ugly] hack, but at least now my server is greatful :-)
>>
>> Thanks for the tip!
>>
>>
>> Michael Rubinsky escreveu:
>>> Quoting Luis Felipe Marzagao <lfbm.andamentos at gmail.com>:
>>>
>>>> Is it possible to prevent users from selecting the birthdays from 
>>>> appearing on calendars? How?
>>>>
>>>> This is a performance hit because we have a lot of shared contacts.
>>>
>>>
>>> You could hack the turba/lib/api.php function 
>>> '_turba_listTimeObjectCategories' to not return the birthday 
>>> category...or if you don't want it to return *any* time objects from 
>>> Turba, simply have it return an empty array()
>
> Since this has been requested a few times already, it would be great 
> if somebody could contribute a patch that adds a configuration setting 
> to disable timeobjects in Turba.
>
> Jan.
>


More information about the horde mailing list