forked from GNUsocial/gnu-social
Unnecessary call to User::getKV
This commit is contained in:
parent
8ab98b72ac
commit
29b45bb87a
@ -760,8 +760,6 @@ function common_find_mentions($text, Profile $sender, Notice $parent=null)
|
||||
}
|
||||
|
||||
if ($mentioned instanceof Profile) {
|
||||
$user = User::getKV('id', $mentioned->id);
|
||||
|
||||
try {
|
||||
$url = $mentioned->getUrl();
|
||||
} catch (InvalidUrlException $e) {
|
||||
|
Loading…
Reference in New Issue
Block a user