Skip to content

Commit 26b56eb

Browse files
authored
Merge pull request #506 from cloudinary/fix/cleanup-system-report
Cleanup both connection keys
2 parents 24fe316 + fd4b848 commit 26b56eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/class-report.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ protected function posts() {
384384
*/
385385
protected function config() {
386386
$config = $this->plugin->settings->get_root_setting()->get_value();
387-
unset( $config['connect'] );
387+
unset( $config['connect'], $config['connection'] );
388388
// The Gallery setting might not be set, so we need ensure it exists before using it.
389389
if ( $this->plugin->get_component( 'media' )->gallery ) {
390390
$config['gallery'] = $this->plugin->get_component( 'media' )->gallery->get_config();

0 commit comments

Comments
 (0)