Add no_update flag to speed up Contact::getIdForURL instances
This commit is contained in:
@@ -1077,7 +1077,7 @@ class BBCode
|
||||
// We only call this so that a previously unknown contact can be added.
|
||||
// This is important for the function "Model\Contact::getDetailsByURL()".
|
||||
// This function then can fetch an entry from the contact table.
|
||||
Contact::getIdForURL($profile, 0);
|
||||
Contact::getIdForURL($profile, 0, true);
|
||||
|
||||
$data = Contact::getDetailsByURL($profile);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user