mirror of
https://github.com/friendica/friendica
synced 2025-05-12 04:24:11 +02: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
|
@ -565,8 +565,10 @@ class Profile
|
|||
Cache::set($cachekey, $r, CACHE_HOUR);
|
||||
}
|
||||
}
|
||||
|
||||
$total = 0;
|
||||
$classtoday = '';
|
||||
if (DBM::is_result($r)) {
|
||||
$total = 0;
|
||||
$now = strtotime('now');
|
||||
$cids = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue