6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#4148] preferences hooks get called multiple times
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ .__ . ..__ |\/|[ __[__)| |[ __ | |[_./| \|/\|[_./
Comment
> I defined the '_prefs_hook_fullname' function in config/hooks.php and > according to config/hooks.php.dist, > > > > Preferences hooks are ONLY executed on login. Preferences are > > * cached during a users session and, to avoid unnecessary overhead > every time > > * a preference is accessed, the results of hooks are cached as well. > > > > Unfortunately, I noticed that for any given user, the > '_prefs_hook_fullname' function gets executed several times (approx. > once per second) ! > > > > I have in config/prefs.php > > > > $_prefs['fullname'] = array( > > 'hook' => true, > > 'value' => '', > > 'locked' => true, > > 'shared' => true, > > 'type' => 'text', > > 'desc' => _("Your full name:") > > ); > > > > > > and in confi/conf.php > > > > $conf['prefs']['params']['driverconfig'] = 'horde'; > > $conf['prefs']['driver'] = 'sql'; > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers