/** * Delete the calendar events related to the specified group * * @param mixed $group A group id or an EfrontGroup object * @since 3.6.7 * @access public * @static */ public static function deleteGroupCalendarEvents($group) { $group = EfrontGroup::convertArgumentToGroupId($group); eF_deleteTableData("calendar", "type = 'group' and foreign_ID=" . $group); }