[turba] Turba ignoring ['conf']['share']['auto_create'] and creating a default addressbook!

Jan Schneider jan at horde.org
Wed Aug 24 08:16:54 UTC 2011


Zitat von Alex Matthews <qoole.horde at lillimoth.com>:

> Hi
>
>
> My setup is as follows:
> Every user has a private LDAP based Addressbook. I also use the  
> standard 'localsql' for shared Addressbooks.
> What I noticed was that the localsql backend was auto-creating a  
> default addressbook even though ['conf']['share']['auto_create'] is  
> set to false.
> After a bit of rummaging I tracked the offending line down to:
>
> horde/turba/lib/Turba.php Line 500:
>
>
>
> if ($GLOBALS['registry']->getAuth() && !$personal) {
> // User's default share is missing.
>
>
>
> Looking through other modules (nag, nmemo etc) I have altered this  
> line to be:
>
>
>
> if (!empty($GLOBALS['conf']['share']['auto_create']) &&  
> ($GLOBALS['registry']->getAuth() && !$personal)) {
> // User's default share is missing.
>
>
> I am not a familiar enough developer to create a patch I'm afraid.
> I hope this makes sense and helps someone!

Please create a ticket.

Jan.

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



More information about the turba mailing list