[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:
@@ -317,6 +317,7 @@ class PortableContact
|
||||
$contact['created'] = DateTimeFormat::utcNow();
|
||||
}
|
||||
|
||||
$server_url = '';
|
||||
if ($force) {
|
||||
$server_url = normalise_link(self::detectServer($profile));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user