From 716f9e37d3fed8f4a2483dabeca9223eb34ce4ac Mon Sep 17 00:00:00 2001 From: Sarathlal Sarangadharan Date: Fri, 16 May 2025 16:25:13 +0100 Subject: [PATCH 1/2] TD-5485:Max attempts increased --- local/custom_service/externallib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/local/custom_service/externallib.php b/local/custom_service/externallib.php index c4d5b3a3a0f..be9a18bb4f8 100644 --- a/local/custom_service/externallib.php +++ b/local/custom_service/externallib.php @@ -75,8 +75,7 @@ public static function insert_scorm_resource($courseids,$section,$scormname,$fol $scorm = new stdClass(); $scorm->course = $courseid; $scorm->name = $scormname; - $scorm->reference='Test Ref.zip'; - $scorm->intro = 'Intro to SCORM'; + $scorm->maxattempt=3; $scorm->introformat = FORMAT_HTML; $scorm->timemodified = time(); From 0d5efa8a01bc33acbb36988c0913021d11be29ba Mon Sep 17 00:00:00 2001 From: Sarathlal Sarangadharan Date: Fri, 16 May 2025 16:57:43 +0100 Subject: [PATCH 2/2] TD-5485: Mam attempt increased --- local/custom_service/externallib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/local/custom_service/externallib.php b/local/custom_service/externallib.php index be9a18bb4f8..b6a995d3852 100644 --- a/local/custom_service/externallib.php +++ b/local/custom_service/externallib.php @@ -75,6 +75,8 @@ public static function insert_scorm_resource($courseids,$section,$scormname,$fol $scorm = new stdClass(); $scorm->course = $courseid; $scorm->name = $scormname; + $scorm->reference='Test Ref.zip'; + $scorm->intro = 'Intro to SCORM'; $scorm->maxattempt=3; $scorm->introformat = FORMAT_HTML; $scorm->timemodified = time();