diff --git a/mod/scorm/lang/en/deprecated.txt b/mod/scorm/lang/en/deprecated.txt index 161293a8cc2..5dba63a9916 100644 --- a/mod/scorm/lang/en/deprecated.txt +++ b/mod/scorm/lang/en/deprecated.txt @@ -1 +1,2 @@ completionscorerequired_help,mod_scorm +slashargs,mod_scorm diff --git a/mod/scorm/lang/en/scorm.php b/mod/scorm/lang/en/scorm.php index ba0096706f1..089073ae23e 100644 --- a/mod/scorm/lang/en/scorm.php +++ b/mod/scorm/lang/en/scorm.php @@ -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!'; diff --git a/mod/scorm/mod_form.php b/mod/scorm/mod_form.php index 83336afb2df..a847e91059c 100644 --- a/mod/scorm/mod_form.php +++ b/mod/scorm/mod_form.php @@ -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.