mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Changed comments
This commit is contained in:
parent
76e6a71822
commit
c6a56985a8
2 changed files with 2 additions and 2 deletions
|
@ -312,7 +312,7 @@ class User
|
|||
*/
|
||||
public static function getIdForURL(string $url)
|
||||
{
|
||||
// Avoid any database requests when the hostname isn't even part of the url.
|
||||
// Avoid database queries when the local node hostname isn't even part of the url.
|
||||
if (!Contact::isLocal($url)) {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue