From b80ede13a61124162ded43ac5595f22cf73d4da9 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Tue, 1 Dec 2015 20:25:05 +0000 Subject: [PATCH] MDL-51664 externalib: clarify crucial comment --- lib/externallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/externallib.php b/lib/externallib.php index edbfabc62e9..002d5727d22 100644 --- a/lib/externallib.php +++ b/lib/externallib.php @@ -964,7 +964,7 @@ class external_util { * Validate a list of courses, returning the complete course objects for valid courses. * * @param array $courseids A list of course ids - * @param array $courses An array of courses already pre-fetched. + * @param array $courses An array of courses already pre-fetched, indexed by course id. * @return array An array of courses and the validation warnings */ public static function validate_courses($courseids, $courses = array()) { -- 2.36.1