diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 630e92e667..d2f1018f1b 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -839,28 +839,6 @@ class calendar_boupdate extends calendar_bo } } } - // Mailing lists - else if (!is_numeric($userid) && $userid[0] == 'l') - { - if(!$contact_obj) - { - $contact_obj = new Api\Contacts(); - } - $options = array('list' => substr($user,1)); - $contacts = $contact_obj->search('',true,'','','',false,'AND',false,$options); - if(!$contacts) - { - continue; - } - foreach($contacts as &$contact) - { - $contact = 'c'.$contact['id']; - if ($contact && !isset($to_notify[$contact])) // already added? - { - $to_notify[$contact] = 'G'; - } - } - } } $user_prefs = $GLOBALS['egw_info']['user']['preferences']; $startdate = new Api\DateTime($event['start']);