Skip to content

Commit 73c72d8

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

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
@@ -2736,7 +2736,7 @@ function cancel_subscription_or_trial_ajax_action() {
27362736

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

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

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

0 commit comments

Comments
 (0)