2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,5 @@ public function loadConfiguration(): void
45
45
$ builder ->addDefinition ($ this ->prefix ('storage ' ))
46
46
->setType (Nette \Caching \Storage::class)
47
47
->setFactory (Nette \Caching \Storages \FileStorage::class, [$ this ->tempDir ]);
48
-
49
- if ($ this ->name === 'cache ' ) {
50
- if (extension_loaded ('pdo_sqlite ' )) {
51
- $ builder ->addAlias ('nette.cacheJournal ' , $ this ->prefix ('journal ' ));
52
- }
53
-
54
- $ builder ->addAlias ('cacheStorage ' , $ this ->prefix ('storage ' ));
55
- }
56
48
}
57
49
}
Original file line number Diff line number Diff line change @@ -28,8 +28,4 @@ test('', function () {
28
28
29
29
$ storage = $ container ->getService ('cache.storage ' );
30
30
Assert::type (Nette \Caching \Storages \FileStorage::class, $ storage );
31
-
32
- // aliases
33
- Assert::same ($ journal , $ container ->getService ('nette.cacheJournal ' ));
34
- Assert::same ($ storage , $ container ->getService ('cacheStorage ' ));
35
31
});
0 commit comments