Commit 2eeaf6de authored by Penny Leach's avatar Penny Leach
Browse files

portfolio data import : cleanup after yourself

parent 1dc71ee3
......@@ -370,6 +370,7 @@ function send_content_ready($token, $username, $format, $importdata, $fetchnow=f
$result->status = set_field('import_queue', 'ready', 1, 'id', $queue->id);
$result->type = 'queued';
}
$importer->get('importertransport')->cleanup();
return $result;
}
......
......@@ -349,7 +349,7 @@ class MnetImporterTransport extends ImporterTransport {
if (empty($this->tempdir)) {
return;
}
rmdir($this->tempdir);
rmdirr($this->tempdir);
}
public function prepare_files() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment