From 35908e39d31b7ce78d7a601eba27f80de102dd3a Mon Sep 17 00:00:00 2001 From: Hai Zheng Date: Wed, 18 Dec 2024 15:58:06 -0500 Subject: [PATCH] Dropped mini_html & pk/sk from report --- src/report.cls.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/report.cls.php b/src/report.cls.php index 82bf38fea..4cc352313 100644 --- a/src/report.cls.php +++ b/src/report.cls.php @@ -143,6 +143,15 @@ public function generate_environment_report($options = null) $extras['active plugins'] = $active_plugins; $extras['cloud'] = Cloud::get_summary(); + if (!empty($extras['cloud']['mini_html'])) { + unset($extras['cloud']['mini_html']); + } + if (!empty($extras['cloud']['pk_b64'])) { + unset($extras['cloud']['pk_b64']); + } + if (!empty($extras['cloud']['sk_b64'])) { + unset($extras['cloud']['sk_b64']); + } if (is_null($options)) { $options = $this->get_options(true);