[horde] Block birthday from displaying on calendars

Luis Felipe Marzagao lfbm.andamentos at gmail.com
Wed Jan 7 16:59:03 UTC 2009


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()
>
>
> Thanks,
> mike
>
> -- 
> The Horde Project (www.horde.org)
> mrubinsk at horde.org
>
> "Time just hates me. That's why it made me an adult." - Josh Joplin
> ------------------------------------------------------------------------
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>   


More information about the horde mailing list