fix accept/approve typo
Some checks are pending
PHP_CodeSniffer / phpcs (push) Waiting to run
Unit Testing / phpunit (5.6, 6.2) (push) Waiting to run
Unit Testing / phpunit (7.0) (push) Waiting to run
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run

TODO: one should decide for a clear naming
This commit is contained in:
André Menrath 2023-12-26 10:51:43 +01:00
parent 03b6a8e598
commit 4494136527

View file

@ -61,7 +61,7 @@ class Follow {
$follow_request = Follow_Request::save( $follower, $user_id, $activity['id'] );
if ( ! $user->get_manually_approves_followers() ) {
$follow_request->accept();
$follow_request->approve();
}
}