We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 29b45bb8 authored by mattl's avatar mattl

Unnecessary call to User::getKV

parent 8ab98b72
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment