mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-50947 mod_lti Remove deprecated grade.php
This commit is contained in:
parent
57739a72cb
commit
4180d9706b
2 changed files with 0 additions and 85 deletions
|
@ -489,20 +489,6 @@ function lti_grade_item_delete($basiclti) {
|
|||
return grade_update('mod/lti', $basiclti->course, 'mod', 'lti', $basiclti->id, 0, null, array('deleted' => 1));
|
||||
}
|
||||
|
||||
function lti_extend_settings_navigation($settings, $parentnode) {
|
||||
global $PAGE;
|
||||
|
||||
if (has_capability('mod/lti:manage', context_module::instance($PAGE->cm->id))) {
|
||||
$keys = $parentnode->get_children_key_list();
|
||||
|
||||
$node = navigation_node::create('Submissions',
|
||||
new moodle_url('/mod/lti/grade.php', array('id' => $PAGE->cm->id)),
|
||||
navigation_node::TYPE_SETTING, null, 'mod_lti_submissions');
|
||||
|
||||
$parentnode->add_node($node, $keys[1]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Log post actions
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue