[cvs] commit: horde/lib/Prefs ldap.php

Jon Parise jon@horde.org
Sun, 8 Sep 2002 07:35:05 -0700 (PDT)


jon         2002/09/08 07:35:05 PDT

  Modified files:
    lib/Prefs            ldap.php 
  Log:
  Be saner about how retrieved preferences overwrite existing preference
  values.  Instead of always starting off with an empty preferences array,
  we now honor defaults and merge our retrieved values into the existing
  array.
  
  Also, improve the way we search for attributes and fields in ldap_search()
  by only searching for the attributes we really need.  This should reduce the
  number of times we search for 'hordePrefs'.
  
  Submitted by: jaaskela@ksao.fi
  Bug: http://bugs.horde.org/show_bug.cgi?id=1000
  
  Revision  Changes    Path
  1.49      +20 -18    horde/lib/Prefs/ldap.php

  Chora Links:
  http://cvs.horde.org/diff.php/horde/lib/Prefs/ldap.php?r1=1.48&r2=1.49&ty=u