Skip to content

Commit 2da9b67

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

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

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

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

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

0 commit comments

Comments
 (0)