* Calendar: deleting an event did not honor "Do not notify" checkbox (if enabled)

This commit is contained in:
Ralf Becker 2015-07-16 10:05:57 +00:00
parent d3e241988b
commit e5c9d167fe

View File

@ -932,7 +932,7 @@ class calendar_uiforms extends calendar_ui
case 'delete_keep_exceptions': // series and user selected to keep the exceptions case 'delete_keep_exceptions': // series and user selected to keep the exceptions
case 'delete_exceptions': // series and user selected to delete the exceptions too case 'delete_exceptions': // series and user selected to delete the exceptions too
$exceptions_kept = null; $exceptions_kept = null;
if ($this->bo->delete($event['id'], (int)$content['edit_single'], false, false, if ($this->bo->delete($event['id'], (int)$content['edit_single'], false, $event['no_notifications'],
$button == 'delete_exceptions', $exceptions_kept)) $button == 'delete_exceptions', $exceptions_kept))
{ {
if ($event['recur_type'] != MCAL_RECUR_NONE && $content['reference'] == 0 && !$content['edit_single']) if ($event['recur_type'] != MCAL_RECUR_NONE && $content['reference'] == 0 && !$content['edit_single'])