Add new OStatus\PortableContacts module class

- Retain existing route /poco for backward compatibility
- Remove unsupported links to /poco/{nickname} route
This commit is contained in:
Hypolite Petovan 2022-11-10 22:28:33 -05:00
parent d21da2dc0a
commit eb6b03b555
5 changed files with 288 additions and 23 deletions

View file

@ -334,7 +334,6 @@ class Profile extends BaseProfile
foreach ($dfrn_pages as $dfrn) {
$htmlhead .= '<link rel="dfrn-' . $dfrn . '" href="' . $baseUrl . '/dfrn_' . $dfrn . '/' . $nickname . '" />' . "\n";
}
$htmlhead .= '<link rel="dfrn-poco" href="' . $baseUrl . '/poco/' . $nickname . '" />' . "\n";
return $htmlhead;
}