Commit ab75ba95 authored by Zander Potgieter's avatar Zander Potgieter Committed by Robert Lyon
Browse files

Bug 1912705 - export_process_queue() fails on cron run.

Patch supplied by Zander Potgieter.

Change-Id: I7c4ed364d6e2d07ab0d3ef4c3f4b4852b4a07504
(cherry picked from commit 13489337)
parent e857ee50
...@@ -621,7 +621,7 @@ function export_add_to_queue($object, $external = null, $submitter = null, $type ...@@ -621,7 +621,7 @@ function export_add_to_queue($object, $external = null, $submitter = null, $type
* @param string $id Specify which row of export_queue table you want to run - could be used for debugging purposes * @param string $id Specify which row of export_queue table you want to run - could be used for debugging purposes
*/ */
function export_process_queue($id = false) { function export_process_queue($id = false) {
global $exporter;
$where = 'starttime IS NULL'; $where = 'starttime IS NULL';
$values = array(); $values = array();
if ($id) { if ($id) {
......
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