Skip to content

Commit

Permalink
Merge pull request #21 from gmanaud/patch-2
Browse files Browse the repository at this point in the history
Update delete_course.php
  • Loading branch information
oliviervalentin authored Jul 21, 2023
2 parents 0ae3801 + 4c97c55 commit a80e7da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delete_course.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@

$infocourse = $DB->get_record('course', array('id' => $courseid));

// $a = new stdClass();
// $a->delete_period = get_config('report_coursemanager', 'delete_period');
$a = new stdClass();
$a->delete_period = get_config('report_coursemanager', 'delete_period');

// Get all users enrolled as teacher in course.
$all_teachers = get_role_users(3, $context);
Expand Down

0 comments on commit a80e7da

Please sign in to comment.