[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:
@@ -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 = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user