Skip to content

Commit

Permalink
[CodeFactor] Apply fixes to commit aa58eb9
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
code-factor committed Jan 12, 2021
1 parent 92216fc commit 62aec29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class/class-mainwp-child-staging.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function action() { // phpcs:ignore -- ignore complex method notice.
$this->plugin_version = '2.7';
\WPStaging\WPStaging::getInstance();
}

$information = array();

if ( 'Y' !== get_option( 'mainwp_wp_staging_ext_enabled' ) ) {
Expand Down Expand Up @@ -319,7 +319,7 @@ public function get_scan() {
$return = array(
'options' => serialize( $options ), // phpcs:ignore -- to compatible http encoding.
'directoryListing' => $scan->directoryListing(),
'prefix' => '2.8' == $this->plugin_version ? \WPStaging\Core\WPStaging::getTablePrefix() : \WPStaging\WPStaging::getTablePrefix(),
'prefix' => '2.8' == $this->plugin_version ? \WPStaging\Core\WPStaging::getTablePrefix() : \WPStaging\WPStaging::getTablePrefix(),
);
return $return;
}
Expand Down

0 comments on commit 62aec29

Please sign in to comment.