Remove converted queue entries

This commit is contained in:
Michael 2019-04-05 20:24:49 +00:00
parent 911ad99e61
commit b30d01bea0

View file

@ -371,6 +371,7 @@ function update_1309()
$deliver_options = ['priority' => PRIORITY_MEDIUM, 'dont_fork' => true];
Worker::add($deliver_options, 'Delivery', $cmd, $item['id'], $entry['cid']);
Logger::info('Added delivery worker', ['command' => $cmd, 'item' => $item['id'], 'contact' => $entry['cid']]);
DBA::delete('queue', ['id' => $entry['id']]);
}
return Update::SUCCESS;
}