diff --git a/lib/util.php b/lib/util.php index 81270baef35b1f38c436404d3b2b6a50dc636cc1..157d36c71c228a6cf7377e2a0e024b11312f020b 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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) {