Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-31957 Course reset: Add missing global

  • Loading branch information...
commit b6c52b4740d030760bb76d753a8b5111cc5cfe62 1 parent 6ab7e3a
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/completionlib.php
View
2  lib/completionlib.php
@@ -716,7 +716,7 @@ public function delete_course_completion_data() {
* Used by course reset page.
*/
public function delete_all_completion_data() {
- global $DB;
+ global $DB, $SESSION;
// Delete from database.
$DB->delete_records_select('course_modules_completion',
Please sign in to comment.
Something went wrong with that request. Please try again.