MDL-57503 calendar: external function get action events by course