mirror of
https://github.com/friendica/friendica
synced 2025-04-27 20:30:13 +00:00
Create new Contact\Redir module class
- Move /redir route to /contact/redir
This commit is contained in:
parent
386c08aa05
commit
4a626ef101
14 changed files with 241 additions and 164 deletions
|
@ -345,7 +345,7 @@ class Item
|
|||
'url' => $item['author-link'],
|
||||
];
|
||||
$profile_link = Contact::magicLinkByContact($author, $item['author-link']);
|
||||
$sparkle = (strpos($profile_link, 'redir/') === 0);
|
||||
$sparkle = (strpos($profile_link, 'contact/redir/') === 0);
|
||||
|
||||
$cid = 0;
|
||||
$pcid = $item['author-id'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue