Skip to content

Commit 5a5b28d

Browse files
committed
Add back unset
1 parent becf8d3 commit 5a5b28d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/DB_Command.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,8 @@ public function export( $args, $assoc_args ) {
814814

815815
$exclude_tables_data = Utils\get_flag_value( $assoc_args, 'exclude_tables_data', '' );
816816
if ( ! empty( $exclude_tables_data ) ) {
817+
unset( $assoc_args['exclude_tables_data'] );
818+
817819
if ( 'mariadb' !== Utils\get_db_type() ) {
818820
WP_CLI::error( 'The --exclude_tables_data option is only supported by MariaDB.' );
819821
}

0 commit comments

Comments
 (0)