[turba] [horde] Block birthday from displaying on calendars

Jan Schneider jan at horde.org
Wed Jan 7 17:52:50 UTC 2009


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.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list