From c2fde96adf1aa1b0e6bbbe4ff3ef16df34414d39 Mon Sep 17 00:00:00 2001 From: aynsix Date: Fri, 21 May 2021 15:38:51 +0300 Subject: [PATCH] add ssl key if not exist --- lib/classes/patch/414_PHRAS_3360.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/classes/patch/414_PHRAS_3360.php b/lib/classes/patch/414_PHRAS_3360.php index 74142c62f6..b2101e9212 100644 --- a/lib/classes/patch/414_PHRAS_3360.php +++ b/lib/classes/patch/414_PHRAS_3360.php @@ -102,5 +102,10 @@ class patch_414_PHRAS_3360 implements patchInterface } elseif (!$conf->has(['workers', 'queues'])) { $conf->set(['workers', 'queues'], $queues); } + + // if no ssl key, add it + if (!$conf->has(['workers', 'queue', 'worker-queue', 'ssl'])) { + $conf->set(['workers', 'queue', 'worker-queue', 'ssl'], false); + } } }