6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14844] Hook for vacation excludes
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . .. . __. __. | \| || |(__ (__ |__/|__||/\|.__).__)
Comment
> This patch enables a hook for manipulating exclude addresses for a > vacation rule. > > Rationale: Exclude vacation messages to adresses like root@domain, > apache@domain etc. > > A hook function might be: > /** > * Set the exclude addresses used for the vacation module. > * > * @param string $user The username. > * @param array $value The default/current value. > * > * @return array A list of exclude addresses. > */ > public function vacation_excludes($user = null, $value = null) > { > $default = array('root@domain', 'apache@domain'); > if (is_array($value)) { > return array_unique(array_merge($value, $default)); > } > return $default; > } >
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