Move remote follow module to profile folder

This commit is contained in:
Hypolite Petovan 2022-10-30 15:50:39 -04:00
parent 5de8fe3a48
commit a1e6e13a9f
3 changed files with 38 additions and 33 deletions

View file

@ -335,7 +335,7 @@ class Profile
if (!$visitor_is_authenticated) {
// Remote follow is only available for local profiles
if (!empty($profile['nickname']) && strpos($profile_url, DI::baseUrl()->get()) === 0) {
$follow_link = 'remote_follow/' . $profile['nickname'];
$follow_link = 'profile/' . $profile['nickname'] . '/remote_follow';
}
} else {
if ($visitor_is_following) {