Commit 0e642c2f authored by Penny Leach's avatar Penny Leach
Browse files

Leap2A: fixed a regression I introduced in queued (cron) mnet imports

This appears to have been broken in
2eeaf6de

 but it seems very strange to me
(a year ago)
Signed-off-by: default avatarPenny Leach <penny@mjollnir.org>
parent becdc553
......@@ -377,12 +377,12 @@ function send_content_ready($token, $username, $format, $importdata, $fetchnow=f
foreach ($importer->get_return_data() as $k => $v) {
$result->querystring .= $k . '=' . $v . '&';
}
$importer->get('importertransport')->cleanup();
} else {
// or set ready to 1 for the next cronjob to go fetch it.
$result->status = set_field('import_queue', 'ready', 1, 'id', $queue->id);
$result->type = 'queued';
}
$importer->get('importertransport')->cleanup();
return $result;
}
......
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