Skip to content

Commit 8730f97

Browse files
committed
Merge branch 'mrrobot47-update/migration-check' into develop
2 parents 0fbe546 + 4fc81da commit 8730f97

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

migrations/container/20190104010207_admin-tools-command_update_config_with_env.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ public function __construct() {
2222
if ( $this->is_first_execution ) {
2323
$this->skip_this_migration = true;
2424
}
25-
if ( $this->fs->exists( EE_ROOT_DIR . '/admin-tools/index.php' ) ) {
26-
$this->skip_this_migration = false;
27-
}
25+
$this->skip_this_migration = ( $this->fs->exists( EE_ROOT_DIR . '/admin-tools/index.php' ) ) ? false : true;
2826
}
2927

3028
/**

0 commit comments

Comments
 (0)