diff --git a/mod/scorm/datamodels/aicclib.php b/mod/scorm/datamodels/aicclib.php index 1340181f36654..b902a67c84652 100644 --- a/mod/scorm/datamodels/aicclib.php +++ b/mod/scorm/datamodels/aicclib.php @@ -358,7 +358,7 @@ function scorm_aicc_get_hacp_session($scormid) { $hacpsession = $SESSION->scorm; $hacpsession->scormid = $scormid; - $hacpsession->hacpsession = random_string(10); + $hacpsession->hacpsession = random_string(20); $hacpsession->userid = $USER->id; $hacpsession->timecreated = $now; $hacpsession->timemodified = $now; diff --git a/mod/scorm/lang/en/scorm.php b/mod/scorm/lang/en/scorm.php index 119f1a0f9bd51..cce47083ad137 100644 --- a/mod/scorm/lang/en/scorm.php +++ b/mod/scorm/lang/en/scorm.php @@ -24,9 +24,9 @@ $string['toc'] = 'TOC'; $string['navigation'] = 'Navigation'; $string['aicchacptimeout'] = 'AICC HACP Timeout'; -$string['aicchacptimeout_desc'] = 'Length of time in minutes that an AICC HACP session can remain open'; +$string['aicchacptimeout_desc'] = 'Length of time in minutes that an external AICC HACP session can remain open'; $string['aicchacpkeepsessiondata'] = 'AICC HACP session data'; -$string['aicchacpkeepsessiondata_desc'] = 'Length of time in days to keep the AICC HACP session data (a high setting will fill up the table with old data but may be useful when debugging)'; +$string['aicchacpkeepsessiondata_desc'] = 'Length of time in days to keep the external AICC HACP session data (a high setting will fill up the table with old data but may be useful when debugging)'; $string['activation'] = 'Activation'; $string['activityloading'] = 'You will be automatically redirected to the activity in'; $string['activitypleasewait'] = 'Activity loading, please wait ...'; @@ -36,7 +36,7 @@ $string['allowtypeexternal'] = 'Enable external package type'; $string['allowtypeimsrepository'] = 'Enable IMS package type'; $string['allowtypelocalsync'] = 'Enable downloaded package type'; -$string['allowtypeaicchacp'] = 'Enable AICC HACP'; +$string['allowtypeaicchacp'] = 'Enable external AICC HACP'; $string['allowtypeaicchacp_desc'] = 'If enabled this allows AICC HACP external communication without requiring user login for post requests from the external AICC package'; $string['apidebugmask'] = 'API debug capture mask - use a simple regex on <username>:<activityname> e.g. admin:.* will debug for admin user only'; $string['areacontent'] = 'Content files';