mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
[Scrutinizer] Fix undeclared variables in src/Protocol/
- Use dba::selectFirst to remove intermediate variables `$r` - Remove unused variable `$sender` in Protocol\Email - Simplify Protocol\OStatus:fetchAuthor cascading queries
This commit is contained in:
parent
2234bb92ae
commit
d8e9ed5ff8
6 changed files with 78 additions and 98 deletions
|
@ -317,6 +317,7 @@ class PortableContact
|
|||
$contact['created'] = DateTimeFormat::utcNow();
|
||||
}
|
||||
|
||||
$server_url = '';
|
||||
if ($force) {
|
||||
$server_url = normalise_link(self::detectServer($profile));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue