Commit 7f14def2 authored by Andrew Nicols's avatar Andrew Nicols
Browse files

MDL-60587 calendar: Add missing categoryid in upcoming WS

parent 39e36451
......@@ -1145,9 +1145,10 @@ class core_calendar_external extends external_api {
* Get data for the monthly calendar view.
*
* @param int $courseid The course to be included
* @param int $categoryid The category to be included
* @return array
*/
public static function get_calendar_upcoming_view($courseid) {
public static function get_calendar_upcoming_view($courseid, $categoryid) {
global $CFG, $DB, $USER, $PAGE;
require_once($CFG->dirroot."/calendar/lib.php");
......
......@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2017110100.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2017110200.00; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment