MDL-78916 mod_lti: deprecate and remove unused strings and files

These strings and files supported the old way of creating course-level
tools, which has now been fully replaced.
This commit is contained in:
Jake Dallimore 2023-09-07 11:58:20 +08:00 committed by Jun Pataleta
parent f41a0dcacf
commit 4464e46336
No known key found for this signature in database
GPG key ID: F83510526D99E2C7
7 changed files with 33 additions and 832 deletions

View file

@ -82,8 +82,7 @@ if (!empty($errormsg)) {
$links = new stdClass();
if (has_capability('mod/lti:addcoursetool', $contextcourse)) {
$coursetooleditor = new moodle_url('/mod/lti/instructor_edit_tool_type.php',
array('course' => $courseid, 'action' => 'add', 'sesskey' => sesskey()));
$coursetooleditor = new moodle_url('mod/lti/coursetools.php', ['id' => $courseid]);
$links->course_tool_editor = $coursetooleditor->out(false);
echo get_string('lti_launch_error_unsigned_help', 'lti', $links);