mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
[Scrutinizer] Fix undeclared variables in src/ (except Protocol/)
- Use dba::selectFirst to remove intermediate variables `$r` - Remove unused variable `$url_recipients` in Worker\Dellivery
This commit is contained in:
parent
2234bb92ae
commit
d419d07f73
17 changed files with 89 additions and 81 deletions
|
@ -157,6 +157,8 @@ class User
|
|||
*/
|
||||
private static function getAuthenticationInfo($user_info)
|
||||
{
|
||||
$user = null;
|
||||
|
||||
if (is_object($user_info) || is_array($user_info)) {
|
||||
if (is_object($user_info)) {
|
||||
$user = (array) $user_info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue