Skip to content

Commit bbb3be5

Browse files
committed
[static-analysis] Remove extra argument in the invoke of the function. 2 parameters given but 1 required.
1 parent e81b46a commit bbb3be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-freemius.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2737,7 +2737,7 @@ function cancel_subscription_or_trial_ajax_action() {
27372737

27382738
$this->check_ajax_referer( 'cancel_subscription_or_trial' );
27392739

2740-
$result = $this->cancel_subscription_or_trial( fs_request_get( 'plugin_id', $this->get_id() ), false );
2740+
$result = $this->cancel_subscription_or_trial( fs_request_get( 'plugin_id', $this->get_id() ) );
27412741

27422742
if ( $this->is_api_error( $result ) ) {
27432743
$this->shoot_ajax_failure( $result->error->message );

0 commit comments

Comments
 (0)