]> git.mxchange.org Git - friendica.git/blobdiff - bin/daemon.php
Merge pull request #7078 from nupplaphil/task/mod_fetch
[friendica.git] / bin / daemon.php
index 257896cfacd7d6a6b6f3ec23f92d7a7d156e5972..047bf71be77b4ac31dbea889098e5dd52dce8b5b 100755 (executable)
@@ -144,7 +144,7 @@ if (!$foreground) {
        file_put_contents($pidfile, $pid);
 
        // We lose the database connection upon forking
-       Factory\DBFactory::init($configCache, $_SERVER);
+       Factory\DBFactory::init($a->getConfigCache(), $a->getProfiler(), $_SERVER);
 }
 
 Config::set('system', 'worker_daemon_mode', true);