[dev] Turba::getDefaultAddressbook

rsalmon at mbpgroup.com rsalmon at mbpgroup.com
Fri Mar 18 09:30:11 UTC 2011


Michael M Slusarz <slusarz at horde.org> a écrit :
>> Quoting Ronan SALMON <rsalmon at mbpgroup.com>:
>   >
>   >> Jan Schneider <jan at horde.org> a écrit :
>   >>
>   >>> Zitat von rsalmon at mbpgroup.com:
>   >>>
>   >>>> hi all,
>   >>>>
>   >>>> I'm having difficulties to get 'localsql' default address book
>   >>>> enable by default. When I login and go to turba's preferences,
>   >>>> localsql is always in 'unselected_sources' list.
>   >>>>
>   >>>> Looking at the code, I see that there are many call to function
>   >>>> Turba::getDefaultAddressbook but I couldn't find where it is
>   >>>> defined.
>   >>>
>   >>> That method? in lib/Turba.php.
>   >>
>   >> Ah, not easy to catch, but it looks like you have some
>   >> getDefaultAddressbook and getDefaultAddressBook.
>   >>
>   >> The B is not always upper case in turba/lib/Api.php and
>   >> turba/lib/Application.php.
>   >
>   > "grep -i" is your friend. :)  Or in vim "/[search term]\c"

What I meant was, there are typos in turba's code.
Turba::getDefaultAddressbook is not defined anywhere.


Hope this helps,
Ronan




More information about the dev mailing list