diff --git a/local/custom_service/externallib.php b/local/custom_service/externallib.php index c4d5b3a3a0f..b6a995d3852 100644 --- a/local/custom_service/externallib.php +++ b/local/custom_service/externallib.php @@ -77,6 +77,7 @@ public static function insert_scorm_resource($courseids,$section,$scormname,$fol $scorm->name = $scormname; $scorm->reference='Test Ref.zip'; $scorm->intro = 'Intro to SCORM'; + $scorm->maxattempt=3; $scorm->introformat = FORMAT_HTML; $scorm->timemodified = time();