mirror of
https://github.com/friendica/friendica
synced 2025-04-24 09:50:11 +00:00
Move remote follow module to profile folder
This commit is contained in:
parent
5de8fe3a48
commit
a1e6e13a9f
3 changed files with 38 additions and 33 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue