MDL-66004 mlbackend_python: Package installed on a separate server

This commit is contained in:
David Monllaó
2019-10-02 08:41:14 +08:00
parent 9528b1ff5b
commit aa5b705607
13 changed files with 691 additions and 187 deletions
+1 -1
View File
@@ -539,7 +539,7 @@ class model {
debugging('Prediction processor ' . $predictorname . ' is not ready to be used. Model ' .
$this->model->id . ' could not be deleted.');
} else {
$predictor->delete_output_dir($this->get_output_dir(array(), true));
$predictor->delete_output_dir($this->get_output_dir(array(), true), $this->get_unique_id());
}
$DB->delete_records('analytics_models', array('id' => $this->model->id));