Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
c1cd2924
Commit
c1cd2924
authored
Dec 04, 2017
by
jun
Browse files
Merge branch 'MDL-60914_master' of
git://github.com/markn86/moodle
parents
5f54a876
2a56a82c
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/lti/db/upgrade.php
View file @
c1cd2924
...
...
@@ -143,6 +143,8 @@ function xmldb_lti_upgrade($oldversion) {
}
if
(
!
$acceptgrades
)
{
// Required when doing CLI upgrade.
require_once
(
$CFG
->
libdir
.
'/gradelib.php'
);
grade_update
(
'mod/lti'
,
$lti
->
course
,
'mod'
,
'lti'
,
$lti
->
id
,
0
,
null
,
array
(
'deleted'
=>
1
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment