|
|
|
@ -362,9 +362,6 @@ class AnnouncementManager |
|
|
|
|
api_item_property_update($_course, TOOL_ANNOUNCEMENT, $last_id, "AnnouncementAdded", api_get_user_id(), '', $user); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
// the message is sent to everyone, so we set the group to 0 |
|
|
|
|
api_item_property_update($_course, TOOL_ANNOUNCEMENT, $last_id, "AnnouncementAdded", api_get_user_id(), '0'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($sendToUsersInSession) { |
|
|
|
|