mirror of
https://github.com/buddypress/buddypress.git
synced 2026-07-22 20:56:55 +08:00
The `BP_Groups_Invitation_Manager->run_acceptance_action()` method was wrongly using one optional arguments before a required one. As PHP 8.0 no longer accepts this practice, all arguments of the method will be required. Fixes #8392 (trunk) git-svn-id: https://buddypress.svn.wordpress.org/trunk@12793 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
18 lines
425 B
PHP
18 lines
425 B
PHP
<?php
|
|
/**
|
|
* The following implementations of BP_Attachment act as dummy plugins
|
|
* for our unit tests
|
|
*/
|
|
class BPTest_Invitation_Manager_Extension extends BP_Invitation_Manager {
|
|
public function __construct( $args = array() ) {
|
|
parent::__construct( $args );
|
|
}
|
|
|
|
public function run_send_action( BP_Invitation $invitation ) {
|
|
return true;
|
|
}
|
|
|
|
public function run_acceptance_action( $type, $r ) {
|
|
return true;
|
|
}
|
|
}
|