Re-enable any queues that were disabled for background processing, on end
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 9 Aug 2023 04:30:42 +0000 (16:30 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 9 Aug 2023 04:44:24 +0000 (16:44 +1200)
commit29776f70fc61b7d1730f8224f0b74c832b316b7c
tree2d6519fb0e450a365ff8fdd37224b55d621845d8
parentc3279fe2d53d16983d92cd283e29ad44479824b3
Re-enable any queues that were disabled for background processing, on end

This addresses what is likely an artificial scenario but

essentially if these steps are followed twice within the same function
- create a queue
- run the queue via runAll

The second time will fail because the queue was disabled & no re-enabled, despite
being perisistent
CRM/Queue/Runner.php