mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:10:11 +00:00
Several speed improvements (magiclink, caching, indexes)
This commit is contained in:
parent
251465f67a
commit
312c01a517
21 changed files with 119 additions and 86 deletions
|
@ -518,7 +518,7 @@ class Contact extends BaseModule
|
|||
|
||||
$relation_text = sprintf($relation_text, $contact['name']);
|
||||
|
||||
$url = Model\Contact::magicLink($contact['url']);
|
||||
$url = Model\Contact::magicLinkByContact($contact);
|
||||
if (strpos($url, 'redir/') === 0) {
|
||||
$sparkle = ' class="sparkle" ';
|
||||
} else {
|
||||
|
@ -1076,7 +1076,7 @@ class Contact extends BaseModule
|
|||
}
|
||||
}
|
||||
|
||||
$url = Model\Contact::magicLink($contact['url']);
|
||||
$url = Model\Contact::magicLinkByContact($contact);
|
||||
|
||||
if (strpos($url, 'redir/') === 0) {
|
||||
$sparkle = ' class="sparkle" ';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue