avoid passing non-variable as reference

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2019-03-01 10:40:01 +01:00
parent 5786644c76
commit fb6e231f77

View File

@@ -227,7 +227,8 @@ class TasksCron extends \Froxlor\Cron\FroxlorCron
if (Settings::Get('system.nssextrausers') == 1) {
// explicitly create files after user has been created to avoid unknown user issues for apache/php-fpm when task#1 runs after this
Extrausers::generateFiles(\Froxlor\FroxlorLogger::getInstanceOf());
$extrausers_log = \Froxlor\FroxlorLogger::getInstanceOf();
Extrausers::generateFiles($extrausers_log);
}
// clear NSCD cache if using fcgid or fpm, #1570