Skip to content

Commit

Permalink
Dropped mini_html & pk/sk from report
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Zheng committed Dec 18, 2024
1 parent 2579f5f commit 35908e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/report.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 35908e3

Please sign in to comment.