Skip to content

Commit

Permalink
MDL-31957 Course reset: Add missing global
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Aug 23, 2012
1 parent 0a31b2f commit 7f4de36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/completionlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,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',
Expand Down

0 comments on commit 7f4de36

Please sign in to comment.