Fix syntax error.

parent 69e5c020
......@@ -174,7 +174,6 @@ if ( ! defined( 'CIVICRM_WPCLI_LOADED' ) ) {
* Implementation of command 'api'
*/
private function api() {
$defaults = array( 'version' => 3 );
array_shift( $this->args );
......@@ -182,8 +181,7 @@ if ( ! defined( 'CIVICRM_WPCLI_LOADED' ) ) {
array_shift( $this->args );
# parse $params
$format = $this->getOption( 'in', 'args' )
$format = $this->getOption( 'in', 'args' );
switch ( $format ) {
# input params supplied via args ..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment