Skip to content

Commit

Permalink
Remove deletion of track_e_default registers on course deletion (avoi…
Browse files Browse the repository at this point in the history
…ds deleting course-creation register) ~ refs #7202
  • Loading branch information
ywarnier committed Apr 2, 2015
1 parent 357ef61 commit 4610e41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/inc/lib/course.lib.php
Expand Up @@ -2201,8 +2201,8 @@ public static function delete_course($code)
Database::query($sql);
$sql = "DELETE FROM $table_stats_online WHERE c_id = $courseId";
Database::query($sql);
$sql = "DELETE FROM $table_stats_default WHERE c_id = $courseId";
Database::query($sql);
//$sql = "DELETE FROM $table_stats_default WHERE c_id = $courseId";
//Database::query($sql);
$sql = "DELETE FROM $table_stats_downloads WHERE c_id = $courseId";
Database::query($sql);
$sql = "DELETE FROM $table_stats_links WHERE c_id = $courseId";
Expand Down

0 comments on commit 4610e41

Please sign in to comment.