[Tickets #12482] Re: Don't send notifications to organiser
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Feb 12 16:26:19 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12482
------------------------------------------------------------------------------
Ticket | 12482
Updated By | bugs at miniskipeptr.at
Summary | Don't send notifications to organiser
Queue | Kronolith
Version | 4.1.2
Type | Enhancement
State | New
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
bugs at miniskipeptr.at (2014-02-12 16:26) wrote:
> There is a (user) setting for kronolith which should prevent sending
> status/invites to the address of the owner, but is does not work :-(
> I would even prefer to not get added automatically as event creator...
If you dont want to add yourself (organizer) to the attendee list
(personally, I prefer this):
Change
'onAdd' => 'function(attendee) {
KronolithCore.addAttendee(attendee);
KronolithCore.checkOrganizerAsAttendee(); }',
in kronolith/index.php to
'onAdd' => 'function(attendee) { KronolithCore.addAttendee(attendee); }',
(for 4.4.4 this is line 115)
If you want to add yourself, but not send the email:
Add
if ($ident->getValue('event_notification_exclude_self') &&
$email === $ident->getValue('from_addr')) {
continue;
}
to kronolith/lib/Kronolith.php in function sendITipNotifications() before
/* Determine all notification-specific strings. */
switch ($action) {
(for Kronolith 4.1.4 this is around line 2116)
This is just quick and dirty, there surely is a more elegant solution.
More information about the bugs
mailing list