]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Merge pull request #11100 from nupplaphil/bug/session_cache
[friendica.git] / static / dependencies.config.php
index d3034a2ba59a8bdc91dd402213205357bbcbd95b..e88bfd14373e4f52f1474f99b8301f1b963e18de 100644 (file)
@@ -160,13 +160,13 @@ return [
        Cache\Capability\ICanCache::class => [
                'instanceOf' => Cache\Factory\Cache::class,
                'call'       => [
-                       ['create', [], Dice::CHAIN_CALL],
+                       ['createLocal', [], Dice::CHAIN_CALL],
                ],
        ],
        Cache\Capability\ICanCacheInMemory::class => [
                'instanceOf' => Cache\Factory\Cache::class,
                'call'       => [
-                       ['create', [], Dice::CHAIN_CALL],
+                       ['createLocal', [], Dice::CHAIN_CALL],
                ],
        ],
        Lock\Capability\ICanLock::class => [
@@ -181,12 +181,6 @@ return [
                        ['determine', [$_SERVER, $_GET], Dice::CHAIN_CALL],
                ],
        ],
-       App\Module::class => [
-               'instanceOf' => App\Module::class,
-               'call' => [
-                       ['determineModule', [], Dice::CHAIN_CALL],
-               ],
-       ],
        \Friendica\Core\System::class => [
                'constructParams' => [
                        [Dice::INSTANCE => '$basepath'],
@@ -196,6 +190,7 @@ return [
                'constructParams' => [
                        $_SERVER,
                        __DIR__ . '/routes.config.php',
+                       [Dice::INSTANCE => Dice::SELF],
                        null
                ],
        ],
@@ -238,4 +233,9 @@ return [
                        [Dice::INSTANCE => Util\ReversedFileReader::class],
                ]
        ],
+       \Friendica\Core\Worker\Repository\Process::class => [
+               'constructParams' => [
+                       $_SERVER
+               ],
+       ],
 ];