Skip to content

Commit

Permalink
Remove unnecessary abstraction
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed Jan 17, 2017
1 parent c2892dd commit 352d377
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions php/commands/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -471,13 +471,9 @@ private static function run( $cmd, $assoc_args = array(), $descriptors = null )
}

$final_args = array_merge( $assoc_args, $required );

static::run_mysql_command( $cmd, $final_args, $descriptors );
Utils\run_mysql_command( $cmd, $final_args, $descriptors );
}

protected static function run_mysql_command( $cmd, $final_args, $descriptors ) {
Utils\run_mysql_command( $cmd, $final_args, $descriptors );
}
}

WP_CLI::add_command( 'db', 'DB_Command' );
Expand Down

0 comments on commit 352d377

Please sign in to comment.