Rename Match to MatchInterests because PHP8-lint rejects "match"
This commit is contained in:
parent
7c66073e4b
commit
815d8975e6
2 changed files with 22 additions and 24 deletions
|
@ -42,12 +42,10 @@ use Friendica\Util\Profiler;
|
|||
use Psr\Log\LoggerInterface;
|
||||
|
||||
/**
|
||||
* Controller for /match.
|
||||
*
|
||||
* It takes keywords from your profile and queries the directory server for
|
||||
* matching keywords from other profiles.
|
||||
*/
|
||||
class Match extends BaseModule
|
||||
class MatchInterests extends BaseModule
|
||||
{
|
||||
const FETCH_PER_PAGE = 100;
|
||||
|
|
@ -384,7 +384,7 @@ return [
|
|||
'/hidden' => [Module\Contact::class, [R::GET]],
|
||||
'/hovercard' => [Module\Contact\Hovercard::class, [R::GET]],
|
||||
'/ignored' => [Module\Contact::class, [R::GET]],
|
||||
'/match' => [Module\Contact\Match::class, [R::GET]],
|
||||
'/match' => [Module\Contact\MatchInterests::class, [R::GET]],
|
||||
'/pending' => [Module\Contact::class, [R::GET]],
|
||||
'/redir/{id:\d+}' => [Module\Contact\Redir::class, [R::GET]],
|
||||
'/suggestions' => [Module\Contact\Suggestions::class, [R::GET]],
|
||||
|
|
Loading…
Reference in a new issue