MDL-62640 mod_scorm: Adjust code for slashargument removal

This commit is contained in:
meirzamoodle
2024-09-25 08:30:18 +07:00
parent 3b9fa14c78
commit 652f6b9994
3 changed files with 4 additions and 5 deletions
+1
View File
@@ -1 +1,2 @@
completionscorerequired_help,mod_scorm
slashargs,mod_scorm
+3 -1
View File
@@ -406,7 +406,6 @@ $string['sided'] = 'To the side';
$string['skipview'] = 'Student skip content structure page';
$string['skipview_help'] = 'This setting specifies whether the content structure page should ever be skipped (not displayed). If the package contains only one learning object, the content structure page can always be skipped.';
$string['skipviewdesc'] = 'This preference sets the default for when to skip content structure for a page';
$string['slashargs'] = 'WARNING: slash arguments is disabled on this site and objects may not function as expected!';
$string['stagesize'] = 'Stage size';
$string['stagesize_help'] = 'These two settings specify the frame/window width and height for the learning objects.';
$string['started'] = 'Started on';
@@ -458,3 +457,6 @@ $string['youmustselectastatus'] = 'You must select a status to require';
// Deprecated since Moodle 4.3.
$string['completionscorerequired_help'] = 'Enabling this setting will require a user to have at least the minimum score entered to be marked complete in this SCORM activity, as well as any other Activity Completion requirements.';
// Deprecated since Moodle 4.5.
$string['slashargs'] = 'WARNING: slash arguments is disabled on this site and objects may not function as expected!';
-4
View File
@@ -29,10 +29,6 @@ class mod_scorm_mod_form extends moodleform_mod {
$mform = $this->_form;
if (!$CFG->slasharguments) {
$mform->addElement('static', '', '', $OUTPUT->notification(get_string('slashargs', 'scorm'), 'notifyproblem'));
}
$mform->addElement('header', 'general', get_string('general', 'form'));
// Name.