Skip to content

Commit

Permalink
Dropped cdn_dash from report
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Zheng committed Dec 19, 2024
1 parent 76f3272 commit ce82a35
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/report.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,10 @@ 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']);
foreach (array('mini_html', 'pk_b64', 'sk_b64', 'cdn_dash', 'ips') as $v) {
if (!empty($extras['cloud'][$v])) {
unset($extras['cloud'][$v]);
}
}

if (is_null($options)) {
Expand Down

0 comments on commit ce82a35

Please sign in to comment.