Add no_update flag to speed up Contact::getIdForURL instances

This commit is contained in:
Hypolite Petovan 2018-03-01 19:54:45 -05:00
parent 9f21e7f34f
commit 41678ec3cd
5 changed files with 7 additions and 7 deletions

View file

@ -330,7 +330,7 @@ class Widget
}
if (Feature::isEnabled($a->profile['profile_uid'], 'tagadelic')) {
$owner_id = Contact::getIdForURL($a->profile['url']);
$owner_id = Contact::getIdForURL($a->profile['url'], 0, true);
if (!$owner_id) {
return '';