We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b9fa6c commit f03b111Copy full SHA for f03b111
modules/reindex_embargoes/src/Drush/Commands/ReindexEmbargoesCommands.php
@@ -60,11 +60,10 @@ public function populateQueue(): void {
60
61
$this->output()->writeln(dt("Found @count Embargoes with future expiration dates. Processing...", ['@count' => count($embargo_ids)]));
62
63
- $embargoes = $embargo_storage->loadMultiple($embargo_ids);
64
$queued_count = 0;
65
66
- foreach ($embargoes as $embargo) {
67
- $item = ['embargo_id' => $embargo->id()];
+ foreach ($embargo_ids as $embargo) {
+ $item = ['embargo_id' => $embargo];
68
$queue->createItem($item);
69
$queued_count++;
70
}
0 commit comments