Skip to content
Snippets Groups Projects
Commit dbfcb794 authored by Laur0r's avatar Laur0r
Browse files

Remove print_error

parent d130bbb6
Branches
Tags v3.11-r2
No related merge requests found
......@@ -71,7 +71,7 @@ class backup_lifecycle_workflow {
make_temp_directory('lifecycle');
$this->tempfilename = $CFG->tempdir .'/lifecycle/'. md5(sesskey().microtime());
if (!$handle = fopen($this->tempfilename, 'w+b')) {
print_error('cannotcreatetempdir');
throw new \moodle_exception('cannotcreatetempdir');
}
$this->writer = new \XMLWriter();
$this->writer->openMemory();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment