Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-33581_MOODLE_22_STABLE' of git://github.com/mouneyr…

…ac/moodle into MOODLE_22_STABLE
  • Loading branch information...
commit c2a3bd52d2345c126926c29fe14be2a3f17304d3 2 parents cd9f44d + 1850ab0
Dan Poltawski danpoltawski authored

Showing 2 changed files with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 2 course/externallib.php
  2. +1 1  enrol/externallib.php
4 course/externallib.php
@@ -56,7 +56,7 @@ public static function get_course_contents_parameters() {
56 56 * @param array $options, not used yet, might be used in later version
57 57 * @return array
58 58 */
59   - public static function get_course_contents($courseid, $options) {
  59 + public static function get_course_contents($courseid, $options = array()) {
60 60 global $CFG, $DB;
61 61 require_once($CFG->dirroot . "/course/lib.php");
62 62
@@ -258,7 +258,7 @@ public static function get_courses_parameters() {
258 258 * @param array $options
259 259 * @return array
260 260 */
261   - public static function get_courses($options) {
  261 + public static function get_courses($options = array()) {
262 262 global $CFG, $DB;
263 263 require_once($CFG->dirroot . "/course/lib.php");
264 264
2  enrol/externallib.php
@@ -143,7 +143,7 @@ public static function get_enrolled_users_parameters() {
143 143 * }
144 144 * @return array An array of users
145 145 */
146   - public static function get_enrolled_users($courseid, $options) {
  146 + public static function get_enrolled_users($courseid, $options = array()) {
147 147 global $CFG, $USER, $DB;
148 148 require_once($CFG->dirroot . "/user/lib.php");
149 149

0 comments on commit c2a3bd5

Please sign in to comment.
Something went wrong with that request. Please try again.