[cvs] commit: horde/lib Prefs.php horde/lib/Prefs ldap.php
session.phpsql.php
Michael M Slusarz
slusarz@bigworm.colorado.edu
Thu, 18 Jul 2002 11:42:55 -0700 (PDT)
slusarz 2002/07/18 11:42:55 PDT
Modified files:
lib Prefs.php
lib/Prefs ldap.php session.php sql.php
Log:
General code cleanup/consolidation of some duplicate code.
sql/ldap were setting the 'default' entry in the $prefs hash - they should
be using setDefault() instead.
The Prefs:: class now automatically updates any preference with the dirty
bit set at the end of a request via a shutdown function. Thus, there is no
need to manually call a $prefs->store() at the end of a script anymore.
Revision Changes Path
1.72 +266 -178 horde/lib/Prefs.php
1.41 +145 -134 horde/lib/Prefs/ldap.php
1.15 +34 -20 horde/lib/Prefs/session.php
1.41 +119 -100 horde/lib/Prefs/sql.php
Chora Links:
http://cvs.horde.org/diff.php/horde/lib/Prefs.php?r1=1.71&r2=1.72&ty=u
http://cvs.horde.org/diff.php/horde/lib/Prefs/ldap.php?r1=1.40&r2=1.41&ty=u
http://cvs.horde.org/diff.php/horde/lib/Prefs/session.php?r1=1.14&r2=1.15&ty=u
http://cvs.horde.org/diff.php/horde/lib/Prefs/sql.php?r1=1.40&r2=1.41&ty=u