From: Mikael Nordfeldth Date: Wed, 13 Jan 2016 19:08:17 +0000 (+0100) Subject: Unnecessary call to User::getKV X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=29b45bb87a63e25f7298e43529edf8b407f38257;p=quix0rs-gnu-social.git Unnecessary call to User::getKV --- diff --git a/lib/util.php b/lib/util.php index 81270baef3..157d36c71c 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) {