Move KeyValuePairStorage to strategies

This commit is contained in:
Philipp Holzer 2023-07-23 03:15:59 +02:00
commit 58f56c7d7d
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
4 changed files with 44 additions and 3 deletions

View file

@ -21,6 +21,7 @@
use Friendica\Core\Cache;
use Friendica\Core\Logger\Type;
use Friendica\Core\KeyValueStorage;
use Psr\Log;
return [
@ -35,5 +36,8 @@ return [
Cache\Type\MemcacheCache::class => ['memcache'],
Cache\Type\MemcachedCache::class => ['memcached'],
Cache\Type\RedisCache::class => ['redis'],
]
],
KeyValueStorage\Capabilities\IManageKeyValuePairs::class => [
KeyValueStorage\Type\DBKeyValueStorage::class => ['database', ''],
],
];