Skip to content
Snippets Groups Projects
Commit 646dc14c authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Removed debugging output when process is deleted

parent bffdc7f8
Branches
Tags
No related merge requests found
...@@ -124,14 +124,6 @@ class process_manager { ...@@ -124,14 +124,6 @@ class process_manager {
$DB->update_record('tool_cleanupcourses_process', $process); $DB->update_record('tool_cleanupcourses_process', $process);
return true; return true;
} else { } else {
try {
if (get_course($process->courseid)) {
debugging('Course exists, but shouldn\'t!!!!'); // TODO This plugin is not just for deleting anymore!
}
} catch (\dml_missing_record_exception $e) {
// Expected behaviour!
debugging('Course deleted properly.');
}
self::remove_process($process); self::remove_process($process);
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment