[Tickets #10452] Turba ignoring ['conf']['share']['auto_create'] and creating a default addressbook!

bugs at horde.org bugs at horde.org
Wed Aug 24 08:47:27 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10452
------------------------------------------------------------------------------
  Ticket             | 10452
  Created By         | qoole.horde at lillimoth.com
  Summary            | Turba ignoring ['conf']['share']['auto_create'] and
                     | creating a default addressbook!
  Queue              | Turba
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


qoole.horde at lillimoth.com (2011-08-24 08:47) wrote:

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. Which was getting in the way (visually) of the LDAP one.
After a bit of rummaging I tracked the offending code down to:

horde/turba/lib/Turba.php Line 500:



if ($GLOBALS['registry']->getAuth() && !$personal) {
// User's default share is missing.

Looking through other modules I have altered that 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!

Thanks,

Alex






More information about the bugs mailing list