MDL-56223 calendar: show the number of deleted events

This commit is contained in:
Simey Lameze
2019-09-05 17:15:14 +08:00
parent d5727ed3ba
commit 2d132fda75
+1
View File
@@ -3073,6 +3073,7 @@ function calendar_import_icalendar_events($ical, $unused = null, $subscriptionid
}
if (!empty($tobedeleted)) {
$DB->delete_records_list('event', 'id', $tobedeleted);
$return .= "<p> " . get_string('eventsdeleted', 'calendar') . ": " . count($tobedeleted) . "</p> ";
}
}
}