MDL-37877 backup: fix incorrect backported code.

This commit is contained in:
Eloy Lafuente (stronk7)
2013-10-16 00:32:00 +02:00
parent e81aa9e8e6
commit 8786deb033
-5
View File
@@ -1640,11 +1640,6 @@ class backup_zip_contents extends backup_execution_step {
@unlink($zipfile);
throw new backup_step_exception('error_zip_packing', '', $e->debuginfo);
}
// If any progress happened, end it.
if ($this->startedprogress) {
$this->task->get_progress()->end_progress();
}
}
}