Move Follow to Contact namespace

This commit is contained in:
Philipp 2022-10-31 12:51:51 +01:00
parent 0e47d5b0aa
commit 437472d0a6
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@
*
*/
namespace Friendica\Module;
namespace Friendica\Module\Contact;
use Friendica\App;
use Friendica\BaseModule;
@ -34,6 +34,7 @@ use Friendica\Model\Item;
use Friendica\Model\Post;
use Friendica\Model\Profile;
use Friendica\Model\User;
use Friendica\Module\Response;
use Friendica\Navigation\SystemMessages;
use Friendica\Network\HTTPException\ForbiddenException;
use Friendica\Network\Probe;

View File

@ -418,7 +418,7 @@ return [
'/filed' => [Module\Search\Filed::class, [R::GET]],
'/filer[/{id:\d+}]' => [Module\Filer\SaveTag::class, [R::GET]],
'/filerm/{id:\d+}' => [Module\Filer\RemoveTag::class, [R::GET, R::POST]],
'/follow[/{url}]' => [Module\Follow::class, [R::GET, R::POST]],
'/follow[/{url}]' => [Module\Contact\Follow::class, [R::GET, R::POST]],
'/follow_confirm' => [Module\FollowConfirm::class, [R::GET, R::POST]],
'/followers/{nickname}' => [Module\ActivityPub\Followers::class, [R::GET]],
'/following/{nickname}' => [Module\ActivityPub\Following::class, [R::GET]],