MDL-51664 externalib: clarify crucial comment

This commit is contained in:
Dan Poltawski 2015-12-01 20:25:05 +00:00 committed by Eloy Lafuente (stronk7)
parent 50901a53bc
commit b80ede13a6

View File

@ -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()) {