]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Worker.php
Refactor dynamic App::getConfig() to static DI::config()
[friendica.git] / src / Core / Worker.php
index b451b11ca502b258dfed513be96afe774d7bd0f0..a87fef07713b7055f4ccfb6e825e4d241254d6ad 100644 (file)
@@ -1086,7 +1086,7 @@ class Worker
                $args = ['no_cron' => !$do_cron];
 
                $a = get_app();
-               $process = new Core\Process($a->getLogger(), $a->getMode(), $a->getConfig(), $a->getBasePath());
+               $process = new Core\Process($a->getLogger(), $a->getMode(), DI::config(), $a->getBasePath());
                $process->run($command, $args);
 
                // after spawning we have to remove the flag.