]> 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 57ef629bb255aa04f74365774d0471d3e3b247bb..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
                ],
        ],